{"id":"CVE-2026-133469","aliases":["CVE-2026-133469","GHSA-2r3w-c2vx-fv5g"],"related":[],"kind":"vulnerability","state":"published","title":"Xen Orchestra: Empty-object login token","summary":"XO (Xen Orchestra) is a solution to visualize, manage, backup and delegate your XCP-ng (or XenServer) infrastructure. Prior to 6.9.2 and 6.10.1, REST cookie parsing turns authenticationToken=j:%7B%7D into {}. REST authentication passes that object to the XO token provider without requiring a string. The token collection treats {} as an unfiltered lookup and returns its first token; the provider authenticates as that token's owner if it is unexpired. The authenticated /rest/v0/users/me/authentication_tokens route then returns reusable login token IDs. This vulnerability is actively exploited in the wild. This vulnerability is fixed in 6.9.2 and 6.10.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"XO (Xen Orchestra) is a solution to visualize, manage, backup and delegate your XCP-ng (or XenServer) infrastructure. Prior to 6.9.2 and 6.10.1, REST cookie parsing turns authenticationToken=j:%7B%7D into {}. REST authentication passes that object to the XO token provider without requiring a string. The token collection treats {} as an unfiltered lookup and returns its first token; the provider authenticates as that token's owner if it is unexpired. The authenticated /rest/v0/users/me/authentication_tokens route then returns reusable login token IDs. This vulnerability is actively exploited in the wild. This vulnerability is fixed in 6.9.2 and 6.10.1.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nREST cookie parsing turns `authenticationToken=j:%7B%7D` into `{}`. REST authentication passes that object to the XO token provider without requiring a string. The token collection treats `{}` as an unfiltered lookup and returns its first token; the provider authenticates as that token's owner if it is unexpired. The authenticated `/rest/v0/users/me/authentication_tokens` route then returns reusable login token IDs.\n\n\n### Details\n\n1. In `packages/xo-server/src/api/session.mjs`, function  `signIn(credentials)` has **no `params` schema** (unlike the deprecated `signInWithToken`, which declares `token: { type: 'string' }`), so `credentials.token` can be any JSON value.\n2. `packages/xo-server/src/xo-mixins/authentication.mjs`, token provider:\n   ```js\n   this.registerAuthenticationProvider(async ({ token: tokenId }, { ip } = {}) => {\n     if (!tokenId) return          // {} is truthy → passes\n     const token = await app.getAuthenticationToken(tokenId)\n     ...\n     return { bypassOtp: true, expiration: token.expiration, userId: token.user_id }\n   ```\n3. `getAuthenticationToken(properties)` explicitly accepts an object, and `_getAuthenticationToken(id, properties)` does `this._tokens.first(properties ?? id)`.\n4. `Collection#first(properties)` -> `_get(properties)`; in `collection/redis.mjs`, `if (isEmpty(properties)) return redis.sMembers(prefix + '_ids')…` → **all tokens**. Non-empty objects on indexed fields (`user_id`, `client_id`) do an index lookup → token of the chosen user.\n5. HTTP paths: `index.mjs` (`req.cookies.token` → `isValidAuthenticationToken`), `xo-mixins/rest-api.mjs` and `@xen-orchestra/rest-api` middleware (`cookies.authenticationToken ?? cookies.token` → `authenticateUser({ token })`). `cookie-parser` turns `j:`-prefixed cookie values into parsed JSON, so `authenticationToken=j:{}` yields `{}`.\n\n\n### Proof of concept\n\nThe object cookie returned 200 with unexpired token IDs, and one ID worked on a fresh request as an admin account. The attacker does not choose which token the empty-object lookup returns. Authentication succeeds only if the token returned first is unexpired and belongs to an existing user; if it is expired or its user was deleted, the request fails without trying another token.\n\n```bash\ncurl -b 'authenticationToken=j:{}' https://<ip>/rest/v0/users\n```\n\n### Impact\n\nAn adversary can bypass authentication and perform actions with 'Admin' privilege. Xen Orchestra compromise can lead to arbitrary code execution on managed pools and a full XCP-ng node takeover as root.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Vates Xen Orchestra contains an improper validation of specified type of input vulnerability that could allow an unauthenticated attacker to bypass authentication and perform actions with administrative privileges via a specially crafted authentication token containing an empty JSON object.","source":"kev"}],"published":"2026-11-23T17:07:16.240Z","modified":"2026-12-01T20:18:24.463Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-287","CWE-1287"],"affected":[{"ranges":[{"version":"< 6.9.2","status":"affected"},{"version":">= 6.10.0, < 6.10.1","status":"affected"}],"vendor":"vatesfr","product":"xen-orchestra","source":"cvelist"},{"ranges":[{"version":"< 5.211.2","status":"affected"},{"version":">= 5.213.0, < 5.213.1","status":"affected"}],"vendor":"xen-orchestra","product":"xo-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"5.7.4"}],"ecosystem":"npm","package":"xo-server","purl":"pkg:npm/xo-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.211.2"},{"status":"affected","introduced":">5.213.0","fixed":"5.213.1"}],"vendor":"xen-orchestra","product":"xen_orchestra_server","cpe":"cpe:2.3:a:xen-orchestra:xen_orchestra_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"6.9.2"},{"status":"affected","introduced":"6.10.0","fixed":"6.10.1"}],"vendor":"xen-orchestra","product":"xen_orchestra","cpe":"cpe:2.3:a:xen-orchestra:xen_orchestra:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Vates","product":"Xen Orchestra","source":"kev"}],"references":[{"url":"https://github.com/vatesfr/xen-orchestra/security/advisories/GHSA-2r3w-c2vx-fv5g","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vatesfr/xen-orchestra/pull/10748","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vatesfr/xen-orchestra/commit/50166fe3a49c02069d35ba9046ca4a1f77f4e11d","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062","tags":["mitigation","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133469","tags":["government-resource","third-party-advisory","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vatesfr/xen-orchestra","tags":["package"],"sources":["ghsa"]},{"url":"https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062/","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133469","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"GitHub_M","kev":{"dateAdded":"2026-11-25","dueDate":"2026-11-28","name":"Vates Xen Orchestra Improper Validation of Specified Type of Input Vulnerability","requiredAction":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","ransomware":false,"notes":"This vulnerability affects an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062/ ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-133469"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2026-11-25T20:14:54.440Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133469","url":"https://www.cve.org/CVERecord?id=CVE-2026-133469","licence":"CVE Terms of Use","modified":"2026-12-01T19:37:24.420Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2r3w-c2vx-fv5g","url":"https://github.com/advisories/GHSA-2r3w-c2vx-fv5g","licence":"CC-BY-4.0","modified":"2026-11-23T17:45:06.330Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133469","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133469","licence":"Public domain","modified":"2026-12-01T20:18:24.463Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2026-133469","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-133469","licence":"CC0-1.0","modified":"2026-11-25T00:00:00.000Z"}],"updatedAt":"2026-12-01T20:32:27.013Z","epss":{"score":0.33324,"percentile":0.98403,"date":"2026-12-01T12:00:22.000Z"}}