Patch Ticker
EnglishEN
Urgent

LXD OIDC token authentication bypass lets attackers take over servers

CVE-2026-135384 and 33 more

LXD virtual server tool: outsiders with a login pass can seize it!

CVE
CVE-2026-135384 and 33 more
Score
CVSS 9.2 · CVE-2026-135384
First seen
9.2
Products
Disclosed together Linux Canonical LXD

Mitigation

Update LXD to the fixed version of your own release line. Find your product's fixed version in the list below. Until you update, set oidc.audience, or set oidc.claim to a value users cannot edit themselves, such as sub. This setting only blocks CVE-2026-135384; the update is the only fix for the others.

Fixed version by product

Canonical LXD 4.0
4.0.16 or later
Canonical LXD 5.0
5.0.12 or later
Canonical LXD 5.21
5.21.10 or later
Canonical LXD 6.10
6.10.2 or later

Can't update yet?

Add this line to the config file:

oidc.audience

A wrong setting can stop the service or lock you out. Check the source links below first.

Summary

A flaw in how LXD checks OIDC login tokens lets an attacker holding a token from the same identity provider log into the LXD API and take control of the server. The same update also fixes other flaws, such as restricted users reading and writing host files or gaining higher privileges.

Exploit code is public

Affected when

  • CVE-2026-135384 OIDC authentication configured
  • CVE-2026-135382, CVE-2026-136972, CVE-2026-136978, CVE-2026-115843 users with restricted project access present
  • CVE-2026-136976 write access to an instance directory on a case-insensitive filesystem

3 other Incidents of this product in the last 30 days

Incidents by product: Canonical LXD

Other recent Incidents of Canonical LXD

Distribution packages (3) (every link below opens in a new tab)

Sources: Debian Security Tracker

34 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 34 CVEs (every link below opens in a new tab)

Show 31 more
  • CVE-2026-127162A VM user can forge host metric labels and break metrics collection. CVSS 7.1 CVE-2026-127162 advisory
  • CVE-2026-135385Read-only users can export backups and read network zone keys. CVSS 7.1 CVE-2026-135385 advisory
  • CVE-2026-135382Restricted users can read and write host files through crafted links and paths. CVSS 6.5 CVE-2026-135382 advisory
  • CVE-2026-136972Device nodes in an image let a restricted user read and overwrite host devices. CVSS 6.5 CVE-2026-136972 advisory
  • CVE-2026-136978Device nodes or named pipes let a restricted user read and write host devices and stall transfers. CVSS 6.5 CVE-2026-136978 advisory
  • CVE-2026-115843Crafted snapshot names let a restricted user write and delete arbitrary host paths. CVSS 6.5 CVE-2026-115843 advisory
  • CVE-2026-135375A search-path flaw lets a restricted user run arbitrary code on the host. CVSS 6.5 CVE-2026-135375 advisory
  • CVE-2026-135373Crafted device paths let a restricted user read and change host files and gain host control. CVSS 6.5 CVE-2026-135373 advisory
  • CVE-2026-135379Image-supplied configuration lets a restricted user run arbitrary commands on the host. CVSS 6.5 CVE-2026-135379 advisory
  • CVE-2026-136974An authenticated user with restricted project access or a local user of the LXD user socket can run arbitrary commands as root on the host by inserting line breaks into instance configuration keys and values. CVSS 6.5 CVE-2026-136974 advisory
  • CVE-2026-135383An authenticated client with a restricted or revoked TLS certificate can gain unrestricted administrative access to the server or cluster through trust-lookup races, forwarded cluster identity headers, detached CA-issued certificates, and stale revocation or session state. CVSS 6.5 CVE-2026-135383 advisory
  • CVE-2026-136973An authenticated user with restricted project access can mount an attacker-controlled filesystem over arbitrary host paths and run code as root by importing a ZFS stream declared as a block volume. CVSS 6.5 CVE-2026-136973 advisory
  • CVE-2026-137114An authenticated user with restricted project access can read and overwrite arbitrary host files, access other projects' data, and block the daemon by importing crafted image or backup metadata. CVSS 6.4 CVE-2026-137114 advisory
  • CVE-2026-127154An authenticated user with a restricted client certificate can write arbitrary host files as root and execute code on the host using a crafted rootfs symlink in an image metadata tarball. CVSS 6.4 CVE-2026-127154 advisory
  • CVE-2026-135378An authenticated user of a restricted project or root inside an instance can manipulate host interfaces and firewall rules, read fragments of root-owned files through error messages, and disrupt or intercept other projects' networks and DNS records through unvalidated configurations. CVSS 6.4 CVE-2026-135378 advisory
  • CVE-2026-127157An authenticated user restricted to a project can capture certificate or cluster join token secrets broadcast to default project event listeners, gaining full server access and cancelling pending token operations. CVSS 6.4 CVE-2026-127157 advisory
  • CVE-2026-122225An authenticated user with project-scoped permissions can import and start a VM backup whose config directory is a symbolic link, disclosing sensitive host files including LXD server and cluster keys and overwriting host files as root. CVSS 6.4 CVE-2026-122225 advisory
  • CVE-2026-135374An authenticated user limited to a single project can export private images, replace public image contents, delete other projects' images, and tie up daemon memory by abusing fingerprint-based sharing and non-expiring upload tokens. CVSS 6.3 CVE-2026-135374 advisory
  • CVE-2026-135381An unprivileged local user can gain root on the host, read or modify transferred volumes, change host file permissions, and inject AppArmor rules by connecting to unauthenticated abstract Unix sockets, running setuid binaries, or racing path and mount operations. CVSS 6.3 CVE-2026-135381 advisory
  • CVE-2026-135376An authenticated user with restricted project access can bypass project limits and reach forbidden storage pools, volumes, network addresses, and CPU resources through instance moves, backup imports with overrides, received snapshots, or unvalidated volatile keys. CVSS 6.3 CVE-2026-135376 advisory
  • CVE-2026-127152A local user with container permissions can gain root on the host by rebuilding a never-started unprivileged container so that it starts without a user namespace or privileged-container hardening. CVSS 6.3 CVE-2026-127152 advisory
  • CVE-2026-136975A privileged user inside an instance on a shared managed bridge can spoof source MAC addresses so that inbound traffic to a neighbouring instance is intercepted or dropped before filtering. CVSS 6.2 CVE-2026-136975 advisory
  • CVE-2026-127151An unprivileged local user in the host network namespace can read and modify a guest VM's disk and run code inside the guest by connecting to abstract Unix sockets while an operation is active. CVSS 6.2 CVE-2026-127151 advisory
  • CVE-2026-135380An authenticated user with restricted project or per-object permissions can read and modify other clients' resources and run code as root on the host through missing checks on secondary objects and push-mode container migration. CVSS 5.8 CVE-2026-135380 advisory
  • CVE-2026-135372An authenticated user with a project-restricted certificate or per-object authorization can read, rename, move, replace, or delete other projects' storage resources and bypass cluster group restrictions through missing ownership checks. CVSS 5.8 CVE-2026-135372 advisory
  • CVE-2026-135377A lower-privileged authenticated user or local host user can read credentials, private keys, and other projects' metadata, and inject arguments into Ceph administration commands, via unfiltered APIs, exported configurations, logs, process command lines, and unvalidated bucket parameters. CVSS 5.8 CVE-2026-135377 advisory
  • CVE-2026-127153An authenticated user with access to a restricted project that permits proxy or GPU devices can read, overwrite, or delete arbitrary host files as root and terminate host processes using device names with path traversal sequences. CVSS 5.3 CVE-2026-127153 advisory
  • CVE-2026-127160An authenticated user with VM creation permissions in a restricted project can bypass low-level VM restrictions and control the root QEMU process by inserting quotes and line breaks into a disk device's guest path. CVSS 5.3 CVE-2026-127160 advisory
  • CVE-2026-136977A root user inside an unisolated instance can impersonate another instance by holding connections open across PID wrap-around, reading its configuration, metadata, and devices across project boundaries. CVSS 5.1 CVE-2026-136977 advisory
  • CVE-2026-127158An authenticated user with project event or operation read access can capture per-connection websocket secrets from operation metadata to read migrating configuration and filesystem data, and disrupt the migration by racing its data channels. CVSS 5.1 CVE-2026-127158 advisory
  • CVE-2026-127161An authenticated user with project event or operation read access can capture the state connection secret from operation events or queries to read a migrating instance's checkpointed runtime state and disrupt the migration. CVSS 5.1 CVE-2026-127161 advisory