Xen Orchestra CVE-2026-133469 Auth Bypass: Patch, Revoke. CVE-2026-133469 lets an empty-object cookie sign in to Xen Orchestra as admin and is exploited. Patch to 6.9.2 or 6.10.1, delete old tokens, then hunt.
CVE-2026-133469 is an authentication bypass in Vates Xen Orchestra, the web console for XCP-ng and XenServer pools, and attackers are already using it. According to the CVE record in NVD, sending the cookie authenticationToken=j:%7B%7D makes Xen Orchestra parse the token as an empty JSON object, look up “the first token” it holds, and sign the request in as that token’s owner. Vates says this lets an attacker “perform actions with ‘Admin’ privilege” (VSA-2026-062), and CISA added it to its Known Exploited Vulnerabilities catalog on 25 November 2026. Upgrade to Xen Orchestra 6.9.2 (stable) or 6.10.1 (latest) now, delete every login token that existed before the upgrade, rotate the secrets Xen Orchestra holds, and check your pools and hosts for the attacker’s traces, because Xen Orchestra keeps no log of this kind of access.
Key facts
- Affected: Xen Orchestra before 6.9.2 and 6.10.0 before 6.10.1, which is xo-server before 5.211.2 and 5.213.0 before 5.213.1 (NVD, VSA-2026-062). The Xen Orchestra Appliance (XOA) is affected too (Vates).
- Weakness: CISA lists it as an improper validation of a specified type of input in Vates Xen Orchestra (CISA KEV catalog).
- Exploited: Vates says it “is actively exploited by a threat actor” (VSA-2026-062), and CISA added it to the Known Exploited Vulnerabilities catalog on 25 November 2026.
- Impact: Vates warns that a compromised Xen Orchestra “can lead to arbitrary code execution on managed pools and a full XCP-ng node takeover as
root” (VSA-2026-062). - Detection: “there is no log to detect unauthenticated access” in Xen Orchestra itself (VSA-2026-062), so a clean log tells you nothing.
What is CVE-2026-133469?
Xen Orchestra (XO) is the management server most XCP-ng users run to create and move virtual machines, manage storage and run backups across their pools. When you sign in, XO hands your browser a login token, a random identifier stored on the server, and the browser sends it back in a cookie called authenticationToken on every request. The server looks the identifier up in its token store and, if it finds an unexpired token, treats the request as coming from that token’s user.
CVE-2026-133469 breaks that lookup. The GitHub security advisory GHSA-2r3w-c2vx-fv5g that Vates published with the fix describes the chain in four parts, and it is worth following because the same pattern turns up in many other login systems:
- XO’s REST API reads cookies with the
cookie-parserlibrary, which turns any value that starts withj:into parsed JSON. The cookieauthenticationToken=j:{}therefore arrives in the code as an empty object rather than a string. - The
signInmethod “has noparamsschema” (GHSA-2r3w-c2vx-fv5g), so the token can be any JSON value, while the older, deprecatedsignInWithTokenmethod declared the token as a string. - The token provider only checked that a token was present, and as the advisory puts it, “
{}is truthy” (GHSA-2r3w-c2vx-fv5g), so the empty object passed that check. - The empty object then reached the token store as a query. A query with no conditions matches every stored token, so the store returned the first one.
The attacker does not choose which token comes back. The advisory notes that authentication only succeeds when that first token is unexpired and its user still exists, which is the normal state of an instance that people sign in to every day. Once in, the authenticated route /rest/v0/users/me/authentication_tokens “returns reusable login token IDs” (NVD), which hands the attacker real tokens that keep working without the trick.
An unauthenticated client sends authenticationToken=j:{} (1), the cookie parser turns it into an empty object instead of a token string (2), the token store treats that as a lookup with no filter and returns its first token (3), and if that token is unexpired the request runs with its owner’s rights (4).
Which versions are affected, and what is the fix?
The fix, pull request 10748, is titled “validate authentication token IDs”. It rejects “non-string and empty authentication token IDs before token collection lookups” and builds the query “from validated fields only, so extra keys from caller-supplied objects never reach the collection” (PR 10748). Vates shipped it in these releases (VSA-2026-062, NVD):
| Release channel | Affected | Fixed |
|---|---|---|
Xen Orchestra stable |
before 6.9.2 (xo-server before 5.211.2) | 6.9.2 (xo-server 5.211.2) |
Xen Orchestra latest |
6.10.0 (xo-server 5.213.0) | 6.10.1 (xo-server 5.213.1) |
| Built from source | any build without the fix | the latest master, which Vates “strongly” recommends |
XOA is affected as well, so bring it to a fixed release too. If you build XO from source, pull master and rebuild, because the fix was merged there on 10 November 2026 (PR 10748).
Why doesn’t patching end the attacker’s access?
The patch closes the empty-object trick, but it does not touch the token store. Every token that existed before the upgrade, including any an attacker read from /rest/v0/users/me/authentication_tokens or created for themselves while inside, is still a valid string token afterwards, and the patched code accepts valid string tokens by design: the pull request says it preserves “valid string tokens”. Neither Vates’ advisory nor the pull request says that upgrading invalidates existing tokens, so you should assume it does not.
Those tokens also live a long time. In the shipped xo-server configuration, config.toml sets defaultTokenValidity = '30 days' and maxTokenValidity = '0.5 year', so a token created on the attacker’s first visit can keep working for weeks after you patch. The OWASP Session Management Cheat Sheet gives the general rule: “All session IDs belonging to the same logical authenticated session must be revoked together”, and the revocation has to happen on the server, since deleting a cookie in a browser does nothing about a copy the attacker holds.
How do you respond, step by step?
Work through these in order. The first two steps limit further damage, so do them before the investigation, not after.
- Take XO off the internet. Vates’ first mitigation is “Do not expose Xen Orchestra to the Internet” (VSA-2026-062), and to put it on a dedicated management network. If you cannot patch within the hour, Vates also suggests a reverse proxy or web application firewall rule that blocks
authenticationToken=j:{}andauthenticationToken=j:%7B%7D, but warns that such a rule “can be bypassed using other formats” (VSA-2026-062), so treat it as a stopgap only. - Block the known attacker infrastructure. Vates lists eight IP addresses to block at ingress and egress (91.211.251.112, 193.148.56.72, 37.221.208.216, 45.66.35.11, 64.65.0.120, 64.65.62.160, 89.47.51.90 and 92.60.37.247) and a Tor hidden service the actor used (VSA-2026-062).
- Upgrade to 6.9.2 or 6.10.1, or rebuild from
master, as in the table above. - Delete every login token that existed before the upgrade. In XO’s JSON-RPC API, which the
xo-clicommand line tool calls, the admin-only methodtoken.deletedeletes “matching authentication tokens for all users”, taking either a list of token IDs (tokens) or apatternto match (api/token.mjs). Each stored token carries auser_idfield (authentication.mjs), so you can delete them user by user, starting with administrators, as in the example below. Everyone, including you, will have to sign in again, and any script or backup job that used a long-lived token needs a new one. - Rotate the secrets XO holds. If you suspect a compromise, Vates says to “Rotate all passwords and secrets” (VSA-2026-062): the XO proxy, backup remotes, the root account, the pool secret, user accounts, one-time password (OTP) secrets and mail server passwords. Rotate them after the token cleanup, because an attacker with a live token could read the new values.
- Hunt for misuse on XO, the pools and the hosts, as in the next section. For a confirmed compromise, Vates says “a full reinstallation is recommended” (VSA-2026-062).
Here is the token deletion for one user, run by an administrator who has already registered xo-cli against the patched server. Replace the placeholder with the user’s ID, and repeat for each user:
# Delete every login token that belongs to one user
xo-cli token.delete pattern='json:{"user_id":"REPLACE-WITH-USER-ID"}'
Check the exact parameter syntax with xo-cli --help on your version before you run it, and be careful never to pass an empty pattern: an empty object as a filter is precisely the input that matched every token in this bug.
What should you look for in the logs?
Xen Orchestra does not record the unauthenticated access, so the evidence has to come from network traffic and from the pools XO manages. Vates gives these checks (VSA-2026-062):
- Network captures and proxy logs. Search packet captures (tcpdump or Wireshark) and any reverse proxy or load balancer logs that record cookies for
authenticationToken=j:%7B%7DandauthenticationToken=j:{}. - Virtual machines. Look for a VM named
pivot2among your running VMs. - XCP-ng hosts. Run these on each host to look for the campaign’s serial-to-file trick and its persistence files:
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*
Vates is clear (VSA-2026-062) that these checks “only cover this specific campaign” and that “The absence of these IoCs alone is not sufficient to conclude that no compromise has occurred”. Beyond them, review the changes you can see in XO and on the pools since your exposure began: new XO users or tokens, new VMs, snapshots or exports you did not make, changed backup jobs or remotes, and outbound connections from the XO server to the addresses in the advisory.
Identity you do not have to patch yourself
Skycloak is a managed identity platform for SSO, MFA, SCIM and audit logs. When an advisory lands, the fix is ours to ship: Keycloak 26.7.2 closed an account takeover through password reset and customers had it the same day upstream published it.
Why does a token with the wrong type pass as a valid session?
This bug did not need a forged signature or a stolen password. The server asked “is there a token?” when it should have asked “is this a token string I issued, and which one is it?”, and a library feature (j: cookies become JSON) turned an attacker-controlled value into a database query. The weakness CISA names, improper validation of a specified type of input (CISA KEV catalog), describes exactly that: input that should be one type, here a string, is accepted as another. The OWASP cheat sheet puts it plainly: “Session IDs must be considered untrusted, as any other user input processed by the web application, and they must be thoroughly validated and verified”, and “Web applications should never accept a session ID they have never generated.”
The same mistake is easy to make wherever a framework parses cookies, headers or JSON bodies for you. A token read from a JSON body can be an object, an array or true; a query builder or document database that accepts objects as filters will happily turn {} into “match everything”, and a library that decodes a token before your code sees it may hand you something you did not expect. We wrote about a near relative earlier this year: in CVE-2026-59822 in LiteLLM, any made-up Bearer token opened an MCP session because the gateway never validated it at all.
A token validation checklist for every request
Whether your login system issues opaque session IDs like XO’s or signed JSON Web Tokens (JWTs) like Keycloak’s, every request that carries a credential should pass these checks before your code trusts it. The JWT items come from RFC 7519, which defines the format, and RFC 8725, the JWT best current practices.
- Type and shape. Reject anything that is not a non-empty string of the format you issue, before it reaches a lookup or a parser. This is the check XO’s fix added.
- Signature, with pinned algorithms. For a JWT, “All cryptographic operations used in the JWT MUST be validated and the entire JWT MUST be rejected if any of them fail to validate” (RFC 8725, section 3.3), and your code, not the token’s header, decides which algorithms are acceptable (section 3.1). Our post on JWT algorithm confusion and the
nonealgorithm shows what happens when the header decides. - Issuer. The keys that signed the token must “belong to the issuer” you expect (RFC 8725, section 3.8), so check
issagainst your one trusted issuer URL. - Audience. If your service is not named in
aud, “the JWT MUST be rejected” (RFC 7519, section 4.1.3). This stops a token minted for one application from working at another. - Expiry. “the current date/time MUST be before the expiration date/time listed in the “exp” claim” (RFC 7519, section 4.1.4), with at most a small leeway for clock skew.
- Token type. Use and check explicit typing with the
typheader so that one kind of token cannot be replayed as another (RFC 8725, section 3.11), for example an ID token presented to an API that expects an access token. - Every request, failing closed. “If any of the listed steps fail, then the JWT MUST be rejected” (RFC 7519, section 7.2). Run the checks in middleware that every route goes through, so a new route cannot skip them.
How does the same mistake show up with Keycloak?
CVE-2026-133469 is a flaw in Xen Orchestra’s own token handling (GHSA-2r3w-c2vx-fv5g), but the APIs and applications that accept Keycloak tokens are where this class of mistake usually lives. A resource server, meaning the API that receives the access token, has to run every check in the list above itself, and our guide on how to verify a Keycloak access token on the backend walks through it with Java, Node.js and Python code, including the common gap of not checking the audience. Token binding is another place where a token can look valid and still be wrong for the request: in CVE-2026-97846, standard token exchange could hand a plain Bearer token to a client configured to receive only certificate-bound access tokens, as our write-up of that CVE explains.
Revocation in Keycloak has the same limit that bit XO users after patching. The Server Administration Guide says that Sign out all active sessions makes all SSO cookies invalid but “does not revoke outstanding access tokens”, which “must expire naturally”. For a suspected compromise, the guide’s revocation policy is the stronger tool: on the realm’s Sessions page, choose Revocation from the Actions list, then Set to now, so that, in the guide’s words, “sessions or tokens issued before that time and date are invalid”, and Push the policy to clients that use the Keycloak OIDC client adapter. APIs that validate tokens locally will still accept an access token until it expires, so keep access token lifetimes short or use token introspection for sensitive calls. When you only need to end one user’s session rather than everyone’s, our post on revoking a single Keycloak session covers the admin API call and the logout endpoint.
If your Keycloak runs on Skycloak, you reach your cluster’s Keycloak admin console through Admin Console SSO (Security docs), and the Skycloak user management docs list revoking a user’s sessions individually or all at once from the dashboard. The IP access control add-on restricts a path such as /admin/* to the addresses and CIDR ranges you list, which applies the advice Vates gives for XO to your identity provider as well.
Frequently asked questions
Is CVE-2026-133469 exploited in the wild?
Yes. Vates says it “is actively exploited by a threat actor” and lists the actor’s IP addresses (VSA-2026-062), and CISA added it to the Known Exploited Vulnerabilities catalog on 25 November 2026.
Which Xen Orchestra versions fix CVE-2026-133469?
Xen Orchestra 6.9.2 on the stable channel and 6.10.1 on the latest channel, which ship xo-server 5.211.2 and 5.213.1 (NVD). From-source installs need the latest master (VSA-2026-062).
Does upgrading Xen Orchestra log out existing sessions?
Neither the advisory nor the fix says so, and the fix keeps valid string tokens working, so assume tokens from before the upgrade still work. Delete them with the admin token.delete method and rotate the secrets XO holds.
How can I tell if my Xen Orchestra was compromised?
Not from XO’s own logs, which do not record this access. Search network captures for the authenticationToken=j:{} cookie, look for a VM named pivot2, and run the host checks in Vates’ advisory, keeping in mind that they only cover one known campaign.
Does CVE-2026-133469 affect Keycloak?
The CVE record and Vates’ advisory name only Xen Orchestra and XOA as affected, because the flaw is in Xen Orchestra’s own token handling. The lesson carries over, though: a service that accepts Keycloak tokens can run the checklist above on every request, as our guide to verifying a Keycloak access token on the backend shows in code.
What to do next
Upgrade Xen Orchestra to 6.9.2 or 6.10.1 today and keep it off the internet, then delete every login token issued before the upgrade, rotate the proxy, backup, pool, root, user and OTP secrets XO holds, and run Vates’ checks on your pools and hosts. When that is done, go through the checklist above for your own login stack, from the type of the token to its audience and expiry, and make sure you know how to revoke every session at once when you need to. Earlier this year we gave the same patch-then-rotate advice for the Aruba AOS authentication bypasses. If you run Keycloak yourself, you can also compare that with Skycloak’s managed Keycloak hosting, the fully managed Keycloak service described in the Skycloak overview.
Sources
- NVD, CVE-2026-133469, published 23 November 2026, retrieved 29 November 2026
- Vates, VSA-2026-062: Empty-object login token (CVE-2026-133469), published 10 November 2026, updated 25 November 2026
- GitHub, GHSA-2r3w-c2vx-fv5g, “Empty-object login token”, and the fix, vatesfr/xen-orchestra pull request 10748
- Xen Orchestra source:
packages/xo-server/config.toml,api/token.mjsandxo-mixins/authentication.mjs - CISA, Known Exploited Vulnerabilities Catalog
- IETF, RFC 7519, JSON Web Token, and RFC 8725, JSON Web Token Best Current Practices
- OWASP, Session Management Cheat Sheet
- Keycloak, Server Administration Guide, sections “Signing out all active sessions” and “Revoking active sessions”

