Vates VSA-2026-062 and GitHub advisory GHSA-2r3w-c2vx-fv5g (CVE-2026-133469) document a critical Xen Orchestra authentication bypass: REST cookie parsing turns authenticationToken=j:{} into an empty object, the token database returns the first matching login token, and an unauthenticated network client can act as that user—including listing reusable token IDs from /rest/v0/users/me/authentication_tokens. Vates classifies impact as full admin on XO and root on managed XCP-ng nodes, and states active exploitation with published indicators of compromise. If you run AI coding agents that touch hypervisor APIs, patch now, remove internet exposure, and hunt IoCs before you let an agent curl your management URL again.
TL;DR
| Question | Answer |
|---|---|
| Am I affected? | Xen Orchestra or XOA below 6.9.2 (stable) / 6.10.1 (latest), or source xo-server not on 5.211.2 or 5.213.1 per VSA-2026-062 |
| Is there a fix? | Yes on Vates channels—upgrade appliance or packages; do not rely on the GitHub npm “patched: none” line for appliance builds |
| Exploited? | Vates says yes, with named C2 IPs, Tor onion, and pivot VM patterns |
| Severity? | Critical, CVSS 9.8 per GHSA-2r3w-c2vx-fv5g |
| Agent angle? | Agents with XO tokens, Terraform/Ansible using REST, or MCP shells can spread compromise across every VM the pool manages |
| First step? | Patch, disconnect public exposure, rotate secrets, grep logs for authenticationToken=j:{} |
What Vates and GitHub published
Vates VSA-2026-062, first published 2026-11-10 and updated the same day, is the vendor primary source. It matches the GitHub-reviewed advisory GitHub published to the advisory database on 2026-11-23.
Both describe the same chain:
- Cookie-parser JSON prefix — HTTP cookies set as
authenticationToken=j:%7B%7DorauthenticationToken=j:{}deserialize to an empty object{}, not a string token ID. - Missing type enforcement —
signIn(credentials)inpackages/xo-server/src/api/session.mjshas no params schema, unlike deprecatedsignInWithToken, which requirestoken: { type: 'string' }. - Truthy empty object — In
packages/xo-server/src/xo-mixins/authentication.mjs, the token provider checksif (!tokenId) return. In JavaScript,{}is truthy, so the check passes. - Empty filter → first token —
getAuthenticationTokenaccepts an object;_getAuthenticationTokencallsthis._tokens.first(properties ?? id). For an empty properties object, Redis collection code treats the lookup as unfiltered and returns the first token ID in the set. - Session elevation — If that token is unexpired and belongs to a live user—often a long-lived admin API token—the attacker receives an authenticated session. The authenticated route
/rest/v0/users/me/authentication_tokenscan then leak additional token IDs for reuse.
The GHSA advisory includes a curl proof of concept:
curl -b 'authenticationToken=j:{}' 'https://<xo-host>/rest/v0/users'
The reporters note the attacker does not pick which token wins the race; if the first token is expired or its user was deleted, the attempt fails without iterating. That nuance does not reduce urgency on typical admin-heavy fleets.
Weaknesses: CWE-287 (improper authentication) and CWE-1287 (improper validation of input type). CVSS v3.1 base 9.8 with network attack, no privileges, no user interaction.
Credits: Filip Magic (@mad31k) and Christoffer Olsen (TDC NET Security) per Vates; GitHub also credits mad31k as finder.
Fix references: vatesfr/xen-orchestra#10748 and commit 50166fe linked from the advisory.
Where the cookie enters the REST stack
The GHSA lists three converging paths:
index.mjsreadsreq.cookies.tokenand validates withisValidAuthenticationToken.xo-mixins/rest-api.mjsand@xen-orchestra/rest-apimiddleware prefercookies.authenticationToken, then fall back tocookies.token, before callingauthenticateUser({ token }).cookie-parserhonors thej:JSON prefix, so percent-encoded%7B%7Dand literal{}both deserialize to an object, not the string"{}".
That combination is why the bug is network-exploitable without phishing: any client that can reach REST can present the malformed cookie. It also explains why rotating only human passwords is insufficient if long-lived API tokens remain in the token collection an empty-object lookup can hit first.
Affected versions and the fix
VSA-2026-062 affected versions table:
| Deployment | Affected | Fixed channel release |
|---|---|---|
| Xen Orchestra (stable) | Before 6.9.2 | 6.9.2 with xo-server 5.211.2 |
| Xen Orchestra (latest) | Before 6.10.1 | 6.10.1 with xo-server 5.213.1 |
| Xen Orchestra Appliance (XOA) | Affected | Same channel updates |
Vates recommends source installs move to latest master after the fix. The GitHub Advisory Database entry still lists npm xo-server at 5.7.4 and below with patched: none as of 2026-11-23—appliance operators should follow Vates channel package numbers above, not that stale npm metadata alone.
Active exploitation and detection
Unlike many auth bypasses that linger as theory, Vates states this flaw is actively exploited. VSA-2026-062 attributes initial activity to 91.211.251.112:8001 and a Tor onion hostname, and warns other actors may use different infrastructure.
Xen Orchestra side
Vates notes successful unauthenticated access may leave no log line—so absence of auth failure spam is not a clean bill of health. Detection instead focuses on:
- HTTP captures containing
authenticationToken=j:%7B%7DorauthenticationToken=j:{} - A running VM named
pivot2(campaign-specific)
XCP-ng host side
On hypervisors, Vates lists checks for:
xe vm-list params=name-label,platform | grep -B1 'hvm_serial: file'
zgrep -- '-serial file:' /var/log/xensource.log*
ls -la /etc/ld.so.preload /.ustar* /etc/cron.d/zz-ustar*
Those patterns tie to post-exploitation persistence on hosts after XO compromise—relevant if your agents SSH to dom0 or run xe CLI automation.
Vates is explicit: published IoCs cover this campaign’s TTPs only; clean IoC scans do not prove absence of compromise.
Mitigations before and after patching
Until every node is on a fixed build, VSA-2026-062 mitigations prioritize network containment:
- Do not expose Xen Orchestra to the internet
- Place XO on a dedicated management network
- Block listed C2 IPs and block Tor egress if policy allows
- WAF or reverse-proxy rules blocking empty-token cookie patterns (Vates warns regex rules can be bypassed with alternate encodings—treat as speed bump, not fix)
- After suspected compromise: rotate every Vates password and secret (backup remotes, pool secret, OTP, mail config) and consider full reinstall rather than cleanup-only
How to check and patch (operator commands)
Version check
Use the appliance About page or update UI for the numeric XO build. On DIY installs, inspect the installed xo-server version against 5.211.2 / 5.213.1 from Vates.
Document the result in the same ticket where you track VMware vCenter CVE-2026-123890 work—teams often patch vCenter first while XO stays internet-facing on a forgotten DNS name.
Apply updates
For XOA, run the supported channel upgrade to 6.9.2 or 6.10.1 through Vates’ updater workflow. For source, pull the fixed xo-server and restart services per VSA-2026-062 resolution.
Compromise triage
- Capture HTTP logs or pcap for empty-token cookies.
- Search VMs and hosts for pivot2 and ustar cron/preload artifacts.
- Rotate tokens created before the patch window.
- If IoCs hit, assume XCP-ng root until forensics says otherwise—isolate hosts from agent CI runners that reuse shared SSH keys.
Mechanism comparison: why this rhymes with other auth bypasses
The failure mode is type confusion at the trust boundary: user-controlled input arrives as one JSON type, downstream code assumes a string ID, and authorization middleware treats “present token object” as authenticated. The same class of bugs hit VMware vCenter’s directory-service bypass this month—different product, same lesson for agent-run infra: if your harness can replay cookies or paste API tokens into scripts, it can automate exploitation at machine speed.
Where agents run untrusted codegen against OpenAPI or shell snippets, failures look more like CVE-2026-63470 fastapi-code-generator RCE—but the blast radius here is hypervisor root, not a single Python process.
What this means if you run AI coding agents
Coding agents rarely mention Xen Orchestra by name, yet they routinely:
- Store
XO_TOKENor cookie jars in.envfiles agents read - Generate Ansible/Terraform that calls
https://xoa.example/rest/v0/... - Debug “VM won’t start” by pasting
curl -brecipes into Claude Code or Codex - Expose management UIs on
0.0.0.0during “quick labs” an agent provisioned
Each pattern becomes wormable when unauthenticated admin is one cookie away.
Concrete checks for agent squads
| Check | Why |
|---|---|
| Inventory every XO URL agents can reach | DNS sprawl is how XO stays public |
Ban agent-generated curl with -b against management hosts unless reviewed | PoC is literally one cookie flag |
| Separate CI SSH keys from hypervisor admin keys | Post-XO compromise moves laterally into build agents |
| Log redaction review | Agents may paste authentication_tokens responses into tickets |
| Patch before re-enabling agent MCP “shell” tools | Same session that fixed DNS may have tested exploit |
Teams shipping self-hosted sandboxes for agents should read Google Gemini managed agents and self-hosted sandboxes alongside this advisory: VM orchestration and agent tool access stack; one weak management plane undermines the other.
If your threat model includes nation-state style automation, compare Vates’ IoC language to the FBI FLASH on ARTEX line of agentic attack tools—different targets, same “scripted admin at scale” outcome.
What not to do
- Do not ask an agent to “scan for vulnerability” by sending the PoC cookie to production—use a staging XO instance or authorized pentest window.
- Do not assume VPN-only exposure is enough without segmentation; many breaches start from a compromised developer laptop already on VPN.
- Do not treat Ghostscript or guest VM hardening as a substitute for XO auth—see CVE-2026-125396 for guest escape context, but dom0 trust still flows through XO.
What Beam can and cannot do here
Beam is local-first observability for coding agents: it can scan skills and MCP configs with heuristics (11 patterns plus an MCP version-pin check) for credential exfil, curl -b chains, and pipe-to-shell installs; deny risky PreToolUse for Claude Code and Codex when workspace enforce policy is cached (fail-open if policy is missing or expired); and redact secrets before events hit on-device storage. Sentinel can pause risky browser actions. It does not sit in front of Xen Orchestra REST, patch xo-server, or block hypervisor API calls by IP. Use Beam to catch an agent staging exploit strings or dumping tokens into a prompt; use Vates patches and network segmentation to protect XO itself.
For broader workstation policy, see Capsem and VM sandboxing for agents and coding-assistant security.
Related reading
- VMware vCenter CVE-2026-123890 auth bypass on directory service
- Ghostscript CVE-2026-125396 Upload2Shell and sandbox escape
- FBI FLASH on ARTEX agentic penetration testing
- OWASP Top 10 neocloud risks for agent teams
- Google Gemini managed agents vs self-hosted sandboxes
- What agent monitoring software tracks
Frequently asked questions
What is CVE-2026-133469?
A critical Xen Orchestra REST authentication bypass where an empty JSON object smuggled through the authenticationToken cookie becomes a valid login. Official write-ups: VSA-2026-062 and GHSA-2r3w-c2vx-fv5g.
Which Xen Orchestra versions need patching?
Before 6.9.2 (stable) or before 6.10.1 (latest), including XOA. Fixed xo-server builds: 5.211.2 (stable) and 5.213.1 (latest).
Is the vulnerability actively exploited?
Vates says yes and publishes C2 indicators, Tor guidance, and host/XO detection steps in VSA-2026-062.
How do I check my Xen Orchestra version?
Use the XO UI About/update panel on appliances; on source installs, compare your xo-server package to Vates’ fixed versions for your channel.
How do I update Xen Orchestra community edition?
Apply the channel upgrade to 6.9.2 or 6.10.1 (appliance updater or documented source pull). Restart xo-server after package install and verify REST is not internet-facing during the change window.
Can attackers pick which user they impersonate?
No—the empty-object lookup returns the first token in the collection; only unexpired tokens for existing users succeed. Long-lived admin tokens still make that a critical gamble.
Does this impact AI coding agents?
Yes, indirectly. Agents automate curl, infra-as-code, and secret handling against the same REST surface. XO compromise can yield root on every managed XCP-ng host, which often hosts CI runners and GPU dev boxes agents use.
Should I block empty-token cookies at the proxy?
Vates allows WAF/proxy rules as a mitigation, but warns encoding variants may bypass regex. Patching and network isolation remain primary.
Advisory text, version numbers, and IoC lists reflect Vates VSA-2026-062 and GitHub GHSA-2r3w-c2vx-fv5g as of November 23, 2026. Re-check Vates before closing incidents.

