CVE-2026-136977: lxd: Improper authentication via PID reuse in guest API connections
Improper authentication in the guest API connection handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows a root user inside an unisolated instance to impersonate another instance and read its configuration, metadata, and devices across project boundaries via holding open connections across PID wrap-around.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Canonical LXDto a version that resolves this vulnerability.Fixed in 4.0.16 - Upgrade
Upgrade
Canonical LXDto a version that resolves this vulnerability.Fixed in 5.0.12 - Upgrade
Upgrade
Canonical LXDto a version that resolves this vulnerability.Fixed in 5.21.10 - Upgrade
Upgrade
Canonical LXDto a version that resolves this vulnerability.Fixed in 6.10.2
Event History
Frequently Asked Questions
Which environments are exposed to this issue?
The issue affects Canonical LXD releases before 4.0.16, 5.0.12, 5.21.10, and 6.10.2. Exploitation requires a root user inside an unisolated instance.
What access does an attacker need to exploit this?
An attacker must already have root access within an unisolated LXD instance. They must keep guest API connections open long enough to exploit PID reuse after PID wrap-around.
What could an attacker access after successful exploitation?
A successful attacker can impersonate another instance across project boundaries and read that instance's configuration, metadata, and device information.
What should be done if affected?
Upgrade LXD to 4.0.16, 5.0.12, 5.21.10, 6.10.2, or a later release in the applicable release series. Until upgraded, reduce the risk by preventing untrusted users from obtaining root access inside unisolated instances.