Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain root inside an LXD container
-
ExploitSpoof '[lxc monitor]' process cmdline via exec -a
-
ExecutionQuery devLXD socket impersonating victim container
-
ImpactRead other containers' metadata, config and devices
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already have root privileges inside an existing LXD container and local access to the devLXD endpoint (/dev/lxd/sock), which is exposed to containers by default. The specific technique is overriding the process command line via a shell |
| Impact | This is a genuine but moderate-priority issue, not an urgent emergency. The input CVSS 4.0 vector scores 5.1 (Medium) and requires PR:H - the attacker must already hold root inside a container - so this is a privilege/isolation-boundary weakness rather than a remote entry point. EPSS is very low (0.06%, 17th percentile), the CVE is NOT in CISA KEV (no active-exploitation signal), and impact is confidentiality-only (VC:L/SC:L; no integrity or availability effect). Counterbalancing this, a fully working proof-of-concept with copy-paste reproduction steps is published in the vendor GHSA advisory, which raises practical exploitability for anyone already on a shared host. CONFLICTING SIGNAL: the vendor vector sets AV:N, but the described attack is executed against the local devLXD unix socket (/dev/lxd/sock) from inside a container using |
| Exploit ScenarioDerived | On a shared LXD host running containers for multiple tenants/projects, an attacker who has obtained root inside one container runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 12, 2026
Container impersonation in Canonical LXD's devLXD server lets an attacker who already holds root inside one container read another container's metadata, configuration and device information by forging their process command line to look like another container's monitor process. Affected builds are LXD 4.0 through 5.21.x (fixed in 5.21.4) and 6.0 through 6.5.x (fixed in 6.5), including matching Go module versions; the vendor advisory GHSA-7232-97c6-j525 includes a full reproduction, so publicly available exploit code exists, though there is no KEV-listed active exploitation and EPSS is only 0.06% (17th percentile) because root inside a container is required (CVSS 4.0 vector rates it 5.1 with PR:H; our assessment is CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N). The impact is confidentiality-only - cross-container and cross-project information disclosure, not code execution or data modification - making it a genuine but moderate-priority problem that matters most on multi-tenant or multi-project hosts.
Earlier versions of this analysis (1)
RemediationAI
Vendor-released patch: upgrade to LXD 5.21.4 or LXD 6.5 (or later) - these are the exact fixed versions, and the Go module fix is commit 0494f5d47e41 (pseudo-version 0.0.0-20250827065555-0494f5d47e41), so Go embedders of github.com/canonical/lxd must bump their dependency to that revision or newer. Apply via your normal channel: snap refresh lxd (or the LTS snap track) for snap installs, the distro package for Ubuntu and Debian users (see DSA-6027-1 and DSA-6028-1 on the Debian security tracker, and the Ubuntu security notices for the 8 tracked releases), and restart the LXD daemon afterward so the new binary is in effect. Patch availability is confirmed by the vendor advisory GHSA-7232-97c6-j525 and the GO-2025-4001 entry. If you cannot patch immediately, the most direct compensating control is to remove the attack surface by disabling the devLXD socket for containers that do not need it (the instance option security.devlxd=false), which eliminates /dev/lxd/sock and therefore the /1.0/meta-data, /1.0/config and /1.0/devices endpoints - the trade-off is that cloud-init-style provisioning and any in-container agent reading instance metadata or config will break. A second option is to restrict the blast radius architecturally: this bug only yields value when multiple containers or projects share a host and hold data worth stealing, so consolidating untrusted workloads onto dedicated single-tenant hosts neutralizes the practical impact at the cost of density. Do not rely on hiding the socket path or on container-internal hardening, since the attacker already has root in the source container and the impersonation is performed through the kernel-visible process table. Note that devLXD disclosure is read-only, so no integrity or availability recovery steps are required for hosts that were patched before compromise.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-290, authentication bypass by spoofing: LXD's devLXD server decides which container a request came from by inspecting untrusted, attacker-controllable process metadata rather than a reliable kernel-provided identity. Specifically, findContainerForPID in lxd/api_devlxd.go uses a two-step heuristic - first it walks the caller's parent process chain looking for a process whose command line begins with the literal string [lxc monitor], then parses projectName_containerName out of that string to determine the sender; only if that fails does it fall back to matching the caller's PID against each container's PID namespace. Because a root user inside a container can rewrite its own argv with exec -a, the first branch can be satisfied with arbitrary contents, so the function returns the attacker-chosen container identity. The affected interface is the devLXD Unix socket at /dev/lxd/sock, which LXD exposes inside containers by default and which backs read-only endpoints such as /1.0/meta-data, /1.0/config, /1.0/config/{key} and /1.0/devices - the same endpoints enumerated in the GHSA as the disclosure surface (instance-id and local-hostname in the reproduced example). Affected CPE is cpe:2.3:a:canonical:lxd (two entries), and the ecosystem impact extends to Go consumers of github.com/canonical/lxd (GO-2025-4001) whose pinned pseudo-versions predate commit 0494f5d47e41. Note the scoring divergence: NVD's CVSS 4.0 vector is AV:N, whereas our assessment treats the attack as local (AV:L) because reaching the socket in practice requires root access inside a container on the host.
Know when Lxd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Attack runs over the local devLXD socket needing container root, so AV:L and PR:H; impact crosses into other containers' data (S:C) but is read-only metadata, so C:L and I:N/A:N.
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Primary rating from Vendor (ubuntu).
CVSS VectorVendor: ubuntu
Lifecycle Timeline
5DescriptionCVE.org
Information Spoofing in devLXD Server in Canonical LXD versions 4.0 and above on Linux container platforms allows attackers with root privileges within any container to impersonate other containers and obtain their metadata, configuration, and device information via spoofed process names in the command line.
Executive ViewAI
Organizations using devLXD Server in Canonical LXD should be aware of notable risk from CVE-2025-54288 rated CVSS 6.8. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Cross-site request forgery in the LXD-UI component of Canonical LXD 5.0 before 5.0.5, 5.1 before 5.21.4, and 6.0 before
Privilege escalation in Canonical LXD's operations API (LXD before 6.5 and LXD 5.21 before 5.21.4) allows an authenticat
Authenticated remote attackers with access to the Canonical LXD instance log retrieval or deletion endpoints can read ar
Server-side template injection in Canonical LXD's instance snapshot naming feature lets an authenticated user who can mo
Unauthenticated project enumeration in Canonical LXD 5.21.x before 5.21.4 and 6.x before 6.5 lets remote attackers deter
Unauthenticated remote attackers can confirm the existence of LXD projects on Canonical LXD by comparing HTTP status cod
Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup arc
Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an
Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth
Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write
Same weakness CWE-290 – Authentication Bypass by Spoofing
View allSame technique Authentication Bypass
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| plucky | DNE | - |
| upstream | needs-triage | - |
| xenial | needs-triage | - |
| bionic | needs-triage | - |
| focal | needs-triage | - |
| jammy | DNE | - |
| noble | DNE | - |
| questing | DNE | - |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| trixie | fixed | 6.0.4-2+deb13u1 | - |
| trixie (security) | fixed | 6.0.4-2+deb13u4 | - |
| forky, sid | fixed | 6.0.5-8 | - |
| (unstable) | fixed | 6.0.5-1 | - |
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bookworm | fixed | 5.0.2-5+deb12u1 | - |
| bookworm (security) | fixed | 5.0.2-5+deb12u3 | - |
| trixie | fixed | 5.0.2+git20231211.1364ae4-9+deb13u1 | - |
| trixie (security) | fixed | 5.0.2+git20231211.1364ae4-9+deb13u3 | - |
| (unstable) | fixed | (unfixed) | - |
SUSE
Severity: Medium| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2025-32637
GHSA-7232-97c6-j525
NVD
CVE.org
EPSS
Exploit-DB