CRITICALCVSS v3.1 9.8Vulnerability

CVE-2026-133469

### 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 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.user_id } ``` 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 (`user_id`, `client_id`) 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 at

Properties

Cvss score
9.8
First seen
2026-11-23T17:29:29+00:00
Last seen
2026-11-23T17:29:29+00:00
Euvd assigner
GitHub_M
Retrieved at
2026-11-23T20:52:51+00:00
Src batch id
euvd-20261123T193402Z-3d1c5e
Source url
https://github.com/advisories/GHSA-2r3w-c2vx-fv5g
Ghsa updated
2026-11-23T17:29:30Z
Score
9.8
Euvd base score version
3.1
Fetched at
2026-11-23T19:34:22+00:00
Euvd vendor
vatesfr, xen-orchestra
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
First seen by Signal
2026-11-23T19:34:23+00:00
Euvd base score
9.8
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Content hash
51239a3f80a8f092f84aea3b33898c3238560e18f8d63cf97f210cd4d8f6ad83
Published at
2026-11-23T17:17:31.780
Last modified
2026-11-23T19:17:32.197

Related Entities (4)

AFFECTS (1)

→[Software]npm/xo-server

VULNERABLE_TO (1)

←[Software]npm/xo-server

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-133469 (CVSS v3.1 9.8) — Ninja Signal Threat Intelligence | Ninja Signal