# Xen Orchestra accepts an empty JSON object as a login token and hands out an admin session

Source: https://startwithidentity.com/cves/cve-2026-133469/
Last updated: 2026-11-30
License: content by Start with Identity. Cite the source URL.

---

## What broke

Xen Orchestra (XO) is the web console for XCP-ng and XenServer pools. Vates advisory VSA-2026-062 (dated November 10, 2026, updated November 25) and GitHub advisory GHSA-2r3w-c2vx-fv5g (published November 20) describe the bug. The Express `cookie-parser` middleware turns any cookie value that starts with `j:` into parsed JSON, so `authenticationToken=j:%7B%7D` arrives as `{}`. XO's REST authentication passed that object to the token provider without checking that it was a string, the empty object is truthy, and the Redis-backed token collection treats an empty filter as "all tokens" and returns the first one. If that token is unexpired, the caller is logged in as its owner, with `bypassOtp: true`. The authenticated `/rest/v0/users/me/authentication_tokens` route then returns reusable token IDs.

The GitHub advisory, credited to mad31k, says one returned token "worked on a fresh request as an admin account." NVD lists the GitHub CNA's CVSS 3.1 score of 9.8 and CWE-287 plus CWE-1287 (improper validation of specified type of input). Fixes are XO 6.9.2 (stable) and 6.10.1 (latest), shipped as xo-server 5.211.2 and 5.213.1. Vates says "this vulnerability is actively exploited by a threat actor," and CISA added it to KEV on November 25, 2026.

## Why it matters

This is a login token check that never looked at the token. The attacker does not pick whose session they get, but on most XO installs the first live token belongs to an administrator, and an XO admin controls every VM and host in the pools it manages. Vates' indicators show what attackers did with it: a VM named `pivot2`, VMs switched to file-backed serial consoles, an `/etc/ld.so.preload` entry and cron files named `zz-ustar`. Vates also notes that successful exploitation leaves no log entry, so the only reliable evidence is network capture or a WAF in front of XO.

## What to do

- Update to Xen Orchestra 6.9.2 or 6.10.1 (xo-server 5.211.2 or 5.213.1); source installs should pull the latest `master`.
- Take XO off the internet and put it on a dedicated management network, as Vates advises.
- Until you have patched, block requests whose cookies contain `authenticationToken=j:` at a reverse proxy, and block the addresses listed in VSA-2026-062.

## After you patch

- Look for the `pivot2` VM, `hvm_serial: file` settings, `-serial file:` lines in `/var/log/xensource.log*`, `/etc/ld.so.preload`, `/etc/cron.d/zz-ustar*` and `/.ustar5` or `/.ustar6` on pool hosts.
- If XO was exposed, revoke every XO authentication token and rotate the secrets it holds: user passwords and OTP seeds, pool secrets, host root passwords, backup remote, proxy and mail credentials. Vates recommends a full reinstall after a confirmed compromise.

## Sources

- [NVD: CVE-2026-133469](https://nvd.nist.gov/vuln/detail/cve-2026-133469)
- [Vates security advisory VSA-2026-062: Empty-object login token](https://docs.vates.tech/security-advisories/advisories/2026/vates-sa-2026-062)
- [GitHub advisory GHSA-2r3w-c2vx-fv5g](https://github.com/vatesfr/xen-orchestra/security/advisories/GHSA-2r3w-c2vx-fv5g)
- [CISA Known Exploited Vulnerabilities catalog, added November 25, 2026](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-133469)
