Nov 23, 2026·12 min read·1 visit
An unauthenticated attacker can send an HTTP request with the cookie authenticationToken=j:{} to Vates Xen Orchestra, causing xo-server to query Redis with an empty filter and return the first valid authentication token in the database. This grants unauthorized access—typically with administrative privileges and bypassing Multi-Factor Authentication—allowing full takeover of connected XCP-ng and XenServer virtualization pools.
CVE-2026-133469 is an improper authentication and input type validation vulnerability in the xo-server component of Vates Xen Orchestra and Xen Orchestra Appliance (XOA). Due to Express cookie-parser JSON deserialization combined with loose truthiness validation and unvalidated Redis query construction, an unauthenticated attacker can supply an empty JSON object cookie (authenticationToken=j:{}) to bypass authentication and hijack the first valid active session token stored in the database. This flaw is actively exploited in the wild to gain administrative control over Xen Orchestra deployments and execute root-level commands on underlying XCP-ng and XenServer hypervisors.
Vates Xen Orchestra (XO) and the turnkey Xen Orchestra Appliance (XOA) serve as the primary centralized management, backup, and orchestration interface for XCP-ng and Citrix XenServer virtualization pools. The core backend daemon, xo-server, exposes an HTTP REST API and WebSocket interface that handles user authentication, virtual machine lifecycle management, storage repository configurations, and direct hypervisor pool orchestration. Because xo-server maintains privileged control channels to every connected hypervisor host in a virtualization cluster, its authentication boundary represents a critical security perimeter.
CVE-2026-133469 (also tracked as GHSA-2r3w-c2vx-fv5g and VSA-2026-062) is a critical improper authentication (CWE-287) and improper input type validation (CWE-1287) vulnerability within the token authentication provider of xo-server. The flaw arises from how the Express cookie-parser middleware processes JSON-prefixed cookies and how xo-server subsequently passes the parsed cookie value into its Redis collection query layer without enforcing a primitive string type check.
By sending an unauthenticated HTTP request containing the cookie authenticationToken=j:{} (or its URL-encoded equivalent authenticationToken=j:%7B%7D), an attacker forces the cookie parser to deserialize the token value as an empty JavaScript Object {} rather than a string. This empty object bypasses a loose truthiness check (if (!tokenId)) and is passed directly to the Redis storage collection's first() lookup method, which treats an empty filter object as an unrestrained wildcard query.
When at least one unexpired authentication token exists in the Redis database, xo-server retrieves the first stored token record and authenticates the requester as the user associated with that token, while simultaneously setting bypassOtp: true to skip Multi-Factor Authentication (MFA). In typical production deployments, the first or active token belongs to an administrator or automated backup service account, resulting in immediate unauthenticated administrative compromise of the Xen Orchestra instance and all managed XCP-ng hypervisor nodes.
The root cause of CVE-2026-133469 spans three distinct execution layers in xo-server: HTTP cookie deserialization in Express, loose type checking in the authentication mixin, and query predicate generation in the Redis collection wrapper. Each component makes an assumption about the data type of the token identifier that fails when an object is injected instead of a string.
First, xo-server utilizes the standard Express cookie-parser middleware to extract cookies from incoming HTTP requests. By design, cookie-parser inspects cookie values for the j: prefix; when present, it strips the prefix and passes the remainder of the string to JSON.parse(). Consequently, when a client transmits Cookie: authenticationToken=j:{}, the parser assigns an empty JavaScript object {} to req.cookies.authenticationToken instead of a string primitive.
Second, during request authentication inside packages/xo-server/src/xo-mixins/authentication.mjs, the token authentication provider receives { token: tokenId } where tokenId holds the deserialized {} reference. The provider validates the input using a standard JavaScript truthiness negation check: if (!tokenId) { return }. In ECMAScript specification rules, any object reference—including an empty object {}—is truthy (Boolean({}) === true), causing !tokenId to evaluate to false and allowing execution to proceed into app.getAuthenticationToken(tokenId).
Third, getAuthenticationToken(properties) attempts to extract an identifier via const id = typeof properties === 'string' ? properties : properties.id. Because properties is {}, id evaluates to undefined, and the function invokes this._getAuthenticationToken(undefined, {}). Inside _getAuthenticationToken(id, properties), the query is dispatched via this._tokens.first(properties ?? id). Using the nullish coalescing operator (??), since properties is {} (which is neither null nor undefined), the expression resolves to {} and calls this._tokens.first({}).
Finally, in packages/xo-server/src/collection/redis.mjs, Collection#first(properties) delegates to _get(properties). The Redis collection implementation checks whether the filter dictionary is empty using isEmpty(properties). When isEmpty({}) returns true, the collection driver bypasses property matching and executes redis.sMembers(prefix + '_ids'), retrieving all token IDs stored in Redis and returning the first entry. Provided the returned token's expiration timestamp is greater than Date.now(), the authentication provider returns { bypassOtp: true, expiration: token.expiration, userId: token.user_id }, logging the attacker in as the token owner.
The vulnerability resides in packages/xo-server/src/xo-mixins/authentication.mjs and was patched in GitHub Pull Request #10748 via commit 50166fe3a49c02069d35ba9046ca4a1f77f4e11d. Before the patch, both the authentication provider registration and the internal token retrieval methods failed to verify that tokenId and query parameters were non-empty strings, and directly forwarded caller-controlled objects to the collection query engine.
// VULNERABLE CODE: packages/xo-server/src/xo-mixins/authentication.mjs
// Token authentication provider.
this.registerAuthenticationProvider(async ({ token: tokenId }, { ip } = {}) => {
// Flaw 1: In JavaScript, !{} is false. An empty object passes this check.
if (!tokenId) {
return
}
const token = await app.getAuthenticationToken(tokenId)
// ... authenticates user with { bypassOtp: true, userId: token.user_id }
})
async _getAuthenticationToken(id, properties) {
// Flaw 2: When properties is {}, (properties ?? id) evaluates to {},
// causing this._tokens.first({}) to perform an unfiltered wildcard lookup.
const token = await this._tokens.first(properties ?? id)
if (token !== undefined) {
if (token.expiration > Date.now()) {
return token
}
await this._tokens.remove([token.id])
}
}
async getAuthenticationToken(properties) {
// When properties is {}, id becomes undefined, but properties ({}) is forwarded.
const id = typeof properties === 'string' ? properties : properties.id
const token = await this._getAuthenticationToken(id, properties)
if (token === undefined) {
throw noSuchAuthenticationToken(id)
}
return token
}In commit 50166fe3a49c02069d35ba9046ca4a1f77f4e11d, Vates introduced a strict helper predicate isNonEmptyString (typeof value === 'string' && value.length !== 0) and refactored _getAuthenticationToken and getAuthenticationToken to destructure and validate explicit id and userId string fields rather than forwarding arbitrary caller-supplied objects to this._tokens.first().
@@ -16,6 +16,8 @@ const log = createLogger('xo:authentification')
const noSuchAuthenticationToken = id => noSuchObject(id, 'authenticationToken')
+const isNonEmptyString = value => typeof value === 'string' && value.length !== 0
+
export default class {
constructor(app) {
app.config.watch('authentication', config => {
@@ -51,7 +53,7 @@ export default class {
// Token authentication provider.
this.registerAuthenticationProvider(async ({ token: tokenId }, { ip } = {}) => {
- if (!tokenId) {
+ if (!isNonEmptyString(tokenId)) {
return
}
@@ -278,8 +280,13 @@ export default class {
await db.remove((await db.get()).filter(createPredicate(filter)).map(({ id }) => id))
}
- async _getAuthenticationToken(id, properties) {
- const token = await this._tokens.first(properties ?? id)
+ async _getAuthenticationToken(id, userId) {
+ if (!isNonEmptyString(id) || (userId !== undefined && !isNonEmptyString(userId))) {
+ return
+ }
+
+ // build the query from validated fields only, never forward caller-supplied objects
+ const token = await this._tokens.first(userId === undefined ? id : { id, user_id: userId })
if (token !== undefined) {
if (token.expiration > Date.now()) {
return token
@@ -290,9 +297,9 @@ export default class {
}
async getAuthenticationToken(properties) {
- const id = typeof properties === 'string' ? properties : properties.id
+ const { id, user_id: userId } = typeof properties === 'string' ? { id: properties } : (properties ?? {})
- const token = await this._getAuthenticationToken(id, properties)
+ const token = await this._getAuthenticationToken(id, userId)
if (token === undefined) {
throw noSuchAuthenticationToken(id)
}The patch addresses the vulnerability at two independent boundaries. First, at the entry point in registerAuthenticationProvider, if (!isNonEmptyString(tokenId)) rejects any non-string value (such as {} or arrays deserialized via j:[]) as well as empty string values "". Second, _getAuthenticationToken(id, userId) enforces that id is always a non-empty string and constructs the query object { id, user_id: userId } internally from validated primitives.
Regarding fix completeness, eliminating the passthrough of properties into this._tokens.first() prevents both empty-object wildcard queries (j:{}) and partial-property query injection (such as passing j:{"user_id":"..."} without knowing the secret token id). Because _getAuthenticationToken now requires isNonEmptyString(id) to pass before querying Redis, variant attacks attempting to query tokens by secondary properties alone are also blocked.
Exploitation of CVE-2026-133469 requires no authentication, no prior knowledge of user identifiers or token formats, and only a single HTTP request to a network-accessible Xen Orchestra web or REST API endpoint. The sole prerequisite on the target system is that at least one unexpired authentication token exists in the Redis database, which is standard for any instance with active web sessions, CLI tokens, or external API integrations.
To exploit the flaw and convert the transient bypass into persistent credentials, an attacker sends an HTTP GET request to the REST API endpoint /rest/v0/users/me/authentication_tokens with the authenticationToken cookie set to j:{} (or URL-encoded j:%7B%7D).
GET /rest/v0/users/me/authentication_tokens HTTP/1.1
Host: xo.example.internal
Cookie: authenticationToken=j:{}
Accept: application/jsonWhen xo-server processes this request, it authenticates the connection as the user owning the first token returned by Redis and returns a JSON array listing that user's active, cleartext authentication token paths and identifiers. The attacker can then extract a legitimate persistent token string and use it directly across REST API and WebSocket calls.
In active in-the-wild campaigns documented in Vates Security Advisory VSA-2026-062, threat actors leveraged compromised administrative Xen Orchestra sessions to pivot directly into the underlying XCP-ng and XenServer hypervisor hosts (dom0). Attackers created or renamed rogue virtual machines with the label pivot2 and modified the VM platform configuration parameters to include custom hypervisor serial device redirection (hvm_serial: file), which passes the -serial file:<path> argument to the hypervisor's QEMU device model process running as root in dom0.
By directing the emulated serial output of the guest VM to sensitive file paths on the hypervisor host filesystem, threat actors wrote arbitrary content as root on XCP-ng hosts. Forensic analysis of compromised hypervisors identified unauthorized modifications to /etc/ld.so.preload (for shared library execution hijacking), malicious cron jobs at /etc/cron.d/zz-ustar and /etc/cron.d/zz-ustar2, and hidden payload artifacts at /.ustar5 and /.ustar6 communicating with command-and-control infrastructure including 91.211.251.112:8001 and the Tor hidden service ustar3rqxgnskzgnwkgpofgtvxevm6cx3lxdbwt4mndtveqyaohid.onion:3333.
CVE-2026-133469 carries a CVSS v3.1 base score of 9.8 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The attack vector is Network (AV:N), attack complexity is Low (AC:L), no privileges (PR:N) or user interaction (UI:N) are required, and successful exploitation yields high impact across confidentiality, integrity, and availability (C:H/I:H/A:H). Notably, the token authentication provider explicitly sets bypassOtp: true, meaning accounts protected by Multi-Factor Authentication (TOTP/OTP) are compromised without requiring a second factor.
An attacker who hijacks an administrative session in Xen Orchestra obtains complete control over the virtualization management plane. From within Xen Orchestra, the attacker can read, modify, snapshot, export, or delete any virtual machine across all connected XCP-ng or XenServer pools. Furthermore, Xen Orchestra stores credentials for connected infrastructure, exposing pool root passwords, pool secrets, LDAP/Active Directory bind credentials, SMTP server credentials, and backup storage repository secrets (including NFS, SMB, AWS S3, and Azure Blob storage keys).
As demonstrated by the in-the-wild exploitation campaigns, administrative control over Xen Orchestra directly translates into root remote code execution on the underlying XCP-ng and XenServer hypervisor nodes (dom0). By abusing hypervisor-level VM configuration parameters such as hvm_serial: file (-serial file:), an attacker crosses from the orchestration software into the hypervisor kernel and userland, allowing installation of persistent rootkits (/etc/ld.so.preload) across the physical virtualization cluster.
Administrators running Vates Xen Orchestra or Xen Orchestra Appliance (XOA) must immediately upgrade to a patched release. For full Xen Orchestra releases, upgrade to version 6.9.2 (Stable channel) or 6.10.1 (Latest channel). For deployments managing package components directly, verify that xo-server is upgraded to at least 5.211.2 (Stable) or 5.213.1 (Latest). Deployments built from source must pull commit 50166fe3a49c02069d35ba9046ca4a1f77f4e11d on the master branch and rebuild.
> [!NOTE]
> In addition to applying the software patch, Xen Orchestra and XOA web interfaces should never be exposed directly to the public internet. Restrict management plane access to isolated management VLANs reachable only through authenticated VPNs or bastion hosts. If a reverse proxy or WAF fronts xo-server, block any HTTP request where the Cookie header matches authenticationToken=j:[\{%] or token=j:[\{%].
Security teams must audit both HTTP ingress logs and all connected XCP-ng / XenServer hypervisor hosts for signs of exploitation prior to patching. On web proxies, load balancers, or network packet captures, inspect HTTP Cookie headers for the literal or URL-encoded strings authenticationToken=j:{}, authenticationToken=j:%7B%7D, token=j:{}, or token=j:%7B%7D. On every XCP-ng and XenServer host managed by the Xen Orchestra instance, execute the following diagnostic commands to detect rogue VM serial redirection and filesystem persistence artifacts:
# 1. Check for VMs configured with hypervisor serial file redirection
xe vm-list params=name-label,platform | grep -B1 'hvm_serial: file'
# 2. Check for rogue VMs named 'pivot2' observed in active campaigns
xe vm-list name-label=pivot2
# 3. Search hypervisor logs for QEMU -serial file: execution parameters
zgrep -- '-serial file:' /var/log/xensource.log*
# 4. Inspect dom0 filesystem for known ld.so.preload and ustar cron artifacts
ls -la /etc/ld.so.preload /.ustar* /etc/cron.d/zz-ustar*If any indicators of compromise are detected on either the Xen Orchestra appliance or the hypervisors, applying the patch or removing individual files is insufficient because /etc/ld.so.preload compromises userland binary execution in dom0. Affected organizations must perform a clean reinstall of the Xen Orchestra appliance and any compromised XCP-ng/XenServer hypervisor hosts from trusted installation media, followed by a complete rotation of all credentials stored in or accessible by Xen Orchestra (including XCP-ng root passwords, pool secrets, S3/SMB/NFS backup storage keys, AD/LDAP service accounts, user passwords, and OTP secrets).
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
xen-orchestra (Stable) Vates | < 6.9.2 | 6.9.2 |
xen-orchestra (Latest) Vates | >= 6.10.0, < 6.10.1 | 6.10.1 |
xo-server (Stable) Vates | < 5.211.2 | 5.211.2 |
xo-server (Latest) Vates | >= 5.213.0, < 5.213.1 | 5.213.1 |
| Attribute | Detail |
|---|---|
| CVE / Advisory IDs | CVE-2026-133469 / GHSA-2r3w-c2vx-fv5g / VSA-2026-062 |
| CWE Classification | CWE-287 (Improper Authentication) & CWE-1287 (Improper Validation of Specified Type of Input) |
| CVSS v3.1 Score | 9.8 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) |
| Attack Vector | Unauthenticated HTTP request with Cookie: authenticationToken=j:{} |
| Affected Component | xo-server (packages/xo-server/src/xo-mixins/authentication.mjs) |
| Security Impact | Authentication & MFA bypass leading to Admin takeover of Xen Orchestra and root RCE on XCP-ng/XenServer hypervisors |
| Exploit Status | Actively Exploited in the Wild |
| Patched Versions | Xen Orchestra 6.9.2 / 6.10.1 (xo-server 5.211.2 / 5.213.1) |
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct, here combined with CWE-1287 (Improper Validation of Specified Type of Input) where an object type is accepted instead of a primitive string.
CVE-2026-22816 (GHSA-w78c-w6vf-rw82) is a high-severity flaw in Gradle's dependency resolution engine affecting versions prior to 8.14.4 and versions 9.0.0 through 9.2.1. Due to improper error handling when transient network errors or connection failures exhaust their retry limits, Gradle fails to mark unreachable repositories as disabled and does not abort the resolution queue. Instead, it silently falls through to subsequent repositories configured in the build script. This behavior enables dependency confusion and supply chain attacks when an internal or primary repository experiences connectivity issues, unresolvable DNS, or domain registration lapses.
Gradle versions prior to 8.14.4 and 9.3.0 fail to classify certain fatal network transport exceptions, such as UnknownHostException and NoHttpResponseException, as critical failures during dependency resolution. When these exceptions occur and retry thresholds are exhausted, Gradle fails to disable the unreachable primary repository and instead falls through to subsequent repositories configured in the build script. An attacker capable of disrupting connectivity to an upstream repository can force the build tool to fetch malicious artifacts with matching coordinates from a downstream, untrusted repository.
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.
CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.
CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.