9.8criticalExploited
Xen Orchestra: Empty-object login token
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 33.3% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2r3w-c2vx-fv5g
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vatesfr xen-orchestra | < 6.9.2, >= 6.10.0, < 6.10.1 | CVE List |
| xen-orchestra xo-server | < 5.211.2, >= 5.213.0, < 5.213.1 | CVE List |
| xo-server (npm) | up to 5.7.4 | GitHub Advisory Database |
| xen-orchestra xen_orchestra_server | before 5.211.2, from >5.213.0 before 5.213.1 | NVD |
| xen-orchestra xen_orchestra | before 6.9.2, from 6.10.0 before 6.10.1 | NVD |
| Vates Xen Orchestra | Not specified | CISA KEV |
All scores
| GitHub_M | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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.
Details
- In
packages/xo-server/src/api/session.mjs, functionsignIn(credentials)has noparamsschema (unlike the deprecatedsignInWithToken, which declarestoken: { type: 'string' }), socredentials.tokencan be any JSON value. packages/xo-server/src/xo-mixins/authentication.mjs, token provider:this.registerAuthenticationProvider(async ({ token: tokenId }, { ip } = {}) => { if (!tokenId) return // {} is truthy → passes const token = await app.getAuthenticationToken(tokenId) ... return { bypassOtp: true, expiration: token.expiration, userId: token.user_id }getAuthenticationToken(properties)explicitly accepts an object, and_getAuthenticationToken(id, properties)doesthis._tokens.first(properties ?? id).Collection#first(properties)->_get(properties); incollection/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.- HTTP paths:
index.mjs(req.cookies.token→isValidAuthenticationToken),xo-mixins/rest-api.mjsand@xen-orchestra/rest-apimiddleware (cookies.authenticationToken ?? cookies.token→authenticateUser({ token })).cookie-parserturnsj:-prefixed cookie values into parsed JSON, soauthenticationToken=j:{}yields{}.
Proof of concept
The 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.
curl -b 'authenticationToken=j:{}' https://<ip>/rest/v0/users
Impact
An 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.
CISA KEV
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133469 changed 2026-12-01 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2r3w-c2vx-fv5g changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2026-133469 changed 2026-12-01 | Public domain |
| CISA KEV | CVE-2026-133469 changed 2026-11-25 | CC0-1.0 |