{"id":"CVE-2026-133469","aliases":["GHSA-2r3w-c2vx-fv5g"],"title":"Xen Orchestra: Empty-object login token","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","description":"### 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.","severity":"critical","score":9.8,"published":"2026-11-23T17:07:16.240Z","modified":"2026-11-26T04:55:46.967Z","withdrawn":false,"knownExploited":true,"affected":[{"ecosystem":"npm","name":"xo-server","sources":[{"name":"OSV · GHSA-2r3w-c2vx-fv5g","url":"https://osv.dev/vulnerability/GHSA-2r3w-c2vx-fv5g"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"5.7.4"}],"type":"SEMVER"}],"versions":[],"fixed":[]}],"sourceAffected":[],"references":["https://github.com/vatesfr/xen-orchestra/security/advisories/GHSA-2r3w-c2vx-fv5g","https://github.com/vatesfr/xen-orchestra/pull/10748","https://github.com/vatesfr/xen-orchestra/commit/50166fe3a49c02069d35ba9046ca4a1f77f4e11d","https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062","https://github.com/vatesfr/xen-orchestra","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133469"],"sources":[{"name":"OSV","id":"GHSA-2r3w-c2vx-fv5g","modified":"2026-11-23T17:45:06.330449653Z","url":"https://osv.dev/vulnerability/GHSA-2r3w-c2vx-fv5g"},{"name":"CVE","id":"CVE-2026-133469","modified":"2026-11-26T04:55:46.967Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133469"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"cve":{"records":[{"id":"CVE-2026-133469","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-19T20:59:23.974Z","published":"2026-11-23T17:07:16.240Z","modified":"2026-11-26T04:55:46.967Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-11-23T17:07:16.240Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-26T04:55:46.967Z"}],"references":[{"url":"https://github.com/vatesfr/xen-orchestra/security/advisories/GHSA-2r3w-c2vx-fv5g","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/vatesfr/xen-orchestra/pull/10748","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/vatesfr/xen-orchestra/commit/50166fe3a49c02069d35ba9046ca4a1f77f4e11d","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/vatesfr/xen-orchestra/security/advisories/GHSA-2r3w-c2vx-fv5g","tags":["exploit"],"source":"CISA-ADP"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133469","tags":["government-resource"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-287","description":"CWE-287: Improper Authentication","source":"GitHub_M"},{"id":"CWE-1287","description":"CWE-1287: Improper Validation of Specified Type of Input","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-25T00:00:00+00:00","decisions":[{"name":"Exploitation","value":"active"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"total"}]}]},"products":[{"vendor":"vatesfr","name":"xen-orchestra","platforms":[],"versions":[{"version":"< 6.9.2","status":"affected"},{"version":">= 6.10.0, < 6.10.1","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-133469"},{"vendor":"xen-orchestra","name":"xo-server","platforms":[],"versions":[{"version":"< 5.211.2","status":"affected"},{"version":">= 5.213.0, < 5.213.1","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-133469"}],"remediation":[],"observedAt":"2026-11-26T05:06:33.735Z","kev":{"status":"listed","checkedAt":"2026-11-28T21:05:31.968Z","cveID":"CVE-2026-133469","vendorProject":"Vates","product":"Xen Orchestra","vulnerabilityName":"Vates Xen Orchestra Improper Validation of Specified Type of Input Vulnerability","dateAdded":"2026-11-25","shortDescription":"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.","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.","dueDate":"2026-11-28","knownRansomwareCampaignUse":"Unknown","forensicTriage":"Yes","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","cwes":["CWE-287","CWE-1287"]},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-23T17:25:33.734Z","attemptedAt":"2026-11-23T17:25:33.734Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-23T17:25:33.855Z","attemptedAt":"2026-11-23T17:25:33.855Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-23T17:25:41.383Z","attemptedAt":"2026-11-23T17:25:41.383Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-23T17:25:33.682Z","attemptedAt":"2026-11-23T17:25:33.682Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-133469","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133469","modified":"2026-11-23T17:17:31.780","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-23T17:25:33.734Z"}],"aiSummary":null}