Skip to content
senn-techsenn-tech
Back to blog
Security
Security and data protection2026-11-26· By Franz Senn

Xen Orchestra: An Empty Cookie Is All an Attacker Needs for Root on the Hypervisor

On 2026-11-10 Vates published a vulnerability in Xen Orchestra that is under active attack ever since: an HTTP cookie carrying an empty JSON object is enough to be treated as a logged-in user, in practice almost always an administrator. From there the chain runs through the pool management layer to code execution as root on every XCP-ng node. On 2026-11-25 CISA added the flaw to its catalog of exploited vulnerabilities, with a remediation deadline of 2026-11-28. The detail that stands out is the bug's age: the broken token lookup has been in the code since a commit dated 2022-06-07, and the complete cookie bypass path since at least 2022-09-01, more than four years before the fix.

A management plane is the set of tools operators use to run their infrastructure: the web UI, its logins, its API, its backup services. Whoever owns the management plane of a hypervisor owns every machine underneath it: create VMs, read snapshot backups, rewrite networks, run code on each host. It is the most valuable target in the rack, and often the least protected, because it is supposedly only used by the team itself.

What the bug actually does

As the web management layer for XCP-ng and XenServer, Xen Orchestra offers backups, disaster recovery, consoles, all of it agentless from a single UI. Its login layer accepts tokens for recurring sign-ins. An attacker sends the request cookie authenticationToken=j:%7B%7D, which decodes to an empty object {}. The token provider never checks that a string arrived, and the token store turns {} into an unfiltered lookup: it returns the first stored token in the system, typically belonging to an admin account. Xen Orchestra then authenticates as that token's owner. Vates notes that unauthorized access through this path is not logged. From the resulting admin session, one REST endpoint hands out the appliance's reusable login token IDs, making the foothold durable.

The severity score (CVSS 3.1: 9.8, critical; vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) comes from GitHub's advisory database and entered the NVD on 2026-11-23 together with the CVE-2026-133469 identifier. Vates left its own CVSS fields open when the advisory shipped, so the number is a third-party rating.

Days between the milestones: 1,617 versus 3Lookup flaw to fix1617 · 2022-06-07 to 2026-11-10Bypass path to fix1531 · 2022-09-01 to 2026-11-10Fix to GHSA10 · 11-10 to 11-20GHSA to NVD3 · 11-20 to 11-23NVD to KEV2 · 11-23 to 11-25KEV to deadline3 · 11-25 to 11-2801700
Our count from the public Xen Orchestra history and the date fields in the sources: bar 1 is the lifetime of the broken lookup (since commit 115bc8fa, 2022-06-07), bar 2 the complete cookie bypass path (since commit d52dcd07, 2022-09-01). Calendar differences only. (source: Date fields from the Vates advisory, GitHub, NVD and CISA KEV)

The timeline is worth a close look because it shows how a campaign is normally reported. In the public history the defect sits at two points: commit 115bc8fa turned a string-only token lookup into a pass-through for arbitrary object filters on 2022-06-07, and commit d52dcd07 added the cookie validation that uses that path on 2022-09-01. The fix merged and the advisory shipped on 2026-11-10, the CVE identifier and the public database entry followed ten days later, and CISA's catalog entry after two weeks. That leaves thirteen days between fix availability and CVE assignment in which careful operators could already have patched, without any official trigger telling them to.

The campaign's second bug is still open

According to Vates, the same actor also exploits a second flaw, advisory VSA-2026-063 from 2026-11-10: any Xen Orchestra user holding vm.import (JSON-RPC), sr/import:vm (REST), network/action:create or network/action:update rights can import a crafted XVA file and compromise an XCP-ng host through manipulated fields (VBD.other_config:backend-local, VM.other-config:is_system_domain, VM.platform:hvm_serial, the same class as XSA-489 and XSA-530). When the advisory shipped, no channel carried a fix for it; the stopgap Vates names is stripping those four rights from ordinary users and allowing imports for admins only. One distinction matters: the second bug needs an authenticated user, the first one does not.

How to check: commands, patterns, hints

Vates ships detection guidance inside the advisory. Anyone running Xen Orchestra or the appliance should check:

CheckCommand or pattern (source: Vates)
Attack pattern in web access dataSearch for authenticationToken=j:%7B%7D and j:{} in HTTP request logs
Crafted VMs in the poolxe vm-list params=name-label,platform, filter for hvm_serial: file; search the pool for a VM named pivot2
Hidden boot persistencels -la /etc/ld.so.preload /.ustar* /etc/cron.d/zz-ustar* on every host
Older logszgrep -- '-serial file:' /var/log/xensource.log* (looks back, never protects)

The indicators (IP addresses and a Tor onion address) sit in the advisory; the first observed attacker infrastructure was 91.211.251[.]112:8001 plus an onion service. Vates itself qualifies this: the indicators belong to this specific campaign, other actors using other methods cannot be ruled out, and finding none of them does not prove you are clean.

From cookie to root shellCookie: empty tokenvaluej:%7B%7D, no credentialsneededUnfiltered tokenlookupfirst stored token winsSession as adminunlogged, token IDs nowreadableRoot on XCP-ngcode execution through thepool API
(Quelle: Vates security advisory VSA-2026-062)

What we measured in our own estate

We do not run Xen Orchestra, and we prefer to prove that rather than feel it. On 2026-11-26 the inventory of our virtualization cluster (six nodes) returned 54 virtual machines, zero of them related to Xen, XCP-ng or Xen Orchestra; searching our host inventory for xen, xcp, xoa and orchestra yields zero hits. The hypervisor we run sits at Proxmox VE 9.2.26 (kernel 7.0.14-26-pve). Its management plane lives in a management network, reachable only through VPN and single sign-on with two-factor auth; an outside test confirms it: four TCP probes from a third-party maintenance host of ours against hypervisor management ports 8006 and 8007 on both of our internet uplinks came back closed or filtered, all four.

Check pointMeasured value
Xen/XCP guests in our virtualization cluster0 of 54 VMs
Our own hypervisor levelProxmox VE 9.2.26, kernel 7.0.14-26-pve
Inventory search `xenxcp
TCP probes 8006/8007, both uplinks, from outside4 of 4 closed/filtered

Unit of measurement: guest count, version string, hit count, established TCP connections per probe. Measurement date: 2026-11-26. Instrument: cluster inventory via the management API, filesystem search in the host inventory, TCP connect tests from an external test host.

The lesson reads the same for everyone not on XCP-ng: a vCenter, a Proxmox web UI, a BMC such as iDRAC or iLO are management planes built on the same pattern, and this story repeats there. What a breached vCenter does, we worked through on the CVE-2026-59310 case; its checklist applies here word for word. Our posts on running such planes in an SMB sit in the Security and privacy topic. If you want your management plane inventoried, hardened and then watched in daily operation, the frame for that is IT operations: virtualization, network, security and backup.

Deadline and runbook

Affected versions: Xen Orchestra before 6.9.2 (stable channel) and before 6.10.1 (latest channel), plus the Xen Orchestra Appliance; at package level that is xo-server 5.211.2 (stable) and 5.213.1 (latest). For public bodies the CISA deadline of 2026-11-28 (Binding Operational Directive 26-04) makes this a scheduling question; for everyone else it is an ordering question:

  1. Patch or document: bring appliance and packages to the levels above; whoever cannot ship this week records the deferral date like any other accepted risk decision.
  2. Cut exposure: pull Xen Orchestra off the internet (dedicated network, VPN in front), put the advisory's indicators on edge and proxy blocklists, add the empty-token pattern as a temporary WAF rule; the rule is bypassable, the patch is the fix.
  3. Hunt for compromise: run the checks above, and review the stored token list itself for sessions nobody claims.
  4. After a confirmed hit, cleanup is not enough: rotate every secret in scope (pool secret, backup and proxy remote credentials, OTP seeds, mail accounts) and rebuild appliance and hosts; Vates justifies this with backdoors that survive a wipe.

What we do not claim

No attribution: Vates names infrastructure without naming a group, and we have no independent view of it. Whether the actor probed targets beyond Xen Orchestra appears in no source. The status of VSA-2026-063 ("fix in progress") is the advisory's last update of 2026-11-10; we did not verify whether a channel has shipped a fix since. Our measurements describe our estate on our measurement date; for your estate, only your own measurement counts.

What we changed because of this

First: the outside connectivity test on management ports is now a standing check, up from a one-day result; the four probes above run as a standing rule. Second: we audit vm.import-style rights on every management plane that offers an import function. Third: our intake process now explicitly covers advisories without a CVE number, because otherwise you lose ten days of official trigger every time one appears.

Questions?
Does this vulnerability also affect Proxmox or VMware?+

No. The exploited code is the login layer of Xen Orchestra and the Xen Orchestra Appliance, the management tool for XCP-ng and XenServer. Proxmox VE and VMware vSphere do not contain it. The lesson still applies: their web interfaces are management planes too, and the same class of target.

Is serving Xen Orchestra only on the internal network enough?+

It shrinks the attack surface a lot, because the bypass rides HTTP against the web login layer, and Vates explicitly recommends placing Xen Orchestra behind a dedicated network. It is not a full answer: a compromised workstation inside the network is a fine starting point, and the second bug in this campaign needs no external access at all, only the affected privileges.

Does a WAF rule blocking the empty token suffice?+

No. Vates lists blocking the pattern as a stopgap and notes that attackers can route around the pattern. The rule buys time until you patch; it does not replace the patch. If you were already attacked, rotate every secret in scope and rebuild the appliance in any confirmed case.