CVE-2026-133469: Xen Orchestra: Empty-object login token
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/authenticationtokens route then returns reusable login token IDs.
Details
1. 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. 2. packages/xo-server/src/xo-mixins/authentication.mjs, token provider: js 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.userid } 3. getAuthenticationToken(properties) explicitly accepts an object, and getAuthenticationToken(id, properties) does this.tokens.first(properties ?? id). 4. 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 (userid, clientid) do an index lookup → token of the chosen user. 5. 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 {}.
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.
bash 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.
Other sources
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/authenticationtokens 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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.9.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.10.1
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker can send a REST request with the cookie value authenticationToken=j:%7B%7D. No privileges or user interaction are required, but exploitation depends on the token collection returning an unexpired token.
What access can exploitation provide?
The attacker is authenticated as the owner of the token returned by the unfiltered lookup. They can then use the authenticated authentication-token route to obtain reusable login token IDs.
Which versions need to be remediated?
Xen Orchestra versions prior to 6.9.2 and 6.10.1 are affected. The issue is fixed in versions 6.9.2 and 6.10.1.
How urgent is remediation?
Remediation should be treated as urgent because the vulnerability is actively exploited in the wild and can be exploited over the network without authentication.