Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to LXD API with low-privilege credentials
-
DeliveryCreate or modify instance with NVIDIA config key
-
ExploitInject newline-delimited lxc.conf directives in config value
-
ExecutionLXD writes attacker-controlled directives to lxc.conf
-
PersistLXC runtime processes injected directives on instance start
-
ImpactExecute arbitrary code on host as LXD daemon
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution 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 hold an authenticated LXD identity with at minimum instance-creation or instance-configuration modification privileges - corresponding to PR:L in the CVSS vector (membership in the |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H scores 8.7 and is well-grounded in the attack mechanics: the LXD API is network-accessible, exploitation requires no special conditions beyond a valid low-privilege LXD identity, and injected |
| Exploit ScenarioDerived | An authenticated LXD user with instance-creation rights sets |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied nvidia.driver.capabilities and nvidia.require.* instance config values, enabling an authenticated attacker to inject arbitrary directives into the generated lxc.conf file. Any LXD user with instance-creation or configuration-modification privileges can exploit this to escape the container boundary and execute arbitrary commands on the host with the full privileges of the LXD daemon - effectively achieving complete host compromise. No public exploit code or CISA KEV listing exists at time of analysis, but the network-accessible, low-privilege attack path and scope-changed CVSS vector reflect an elevated real-world threat for shared or multi-tenant LXD deployments.
RemediationAI
The primary remediation is to apply the patched LXD release identified in the Canonical security advisory at https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2. An exact fixed version number is not independently confirmed from the available input data - consult the advisory directly for the authoritative patched release before upgrading. Where immediate patching is not feasible, restrict LXD instance configuration privileges to trusted administrators only, eliminating the low-privilege attack surface; LXD's built-in RBAC or Unix group controls (lxd group membership) can be used to limit who may create or modify instances. As a targeted workaround, prohibit the use of nvidia.driver.capabilities and nvidia.require.* keys in user-accessible LXD profiles by removing them from default profiles and blocking their use via profile restrictions - note this disables NVIDIA GPU passthrough functionality and will impact GPU-dependent workloads such as ML training pipelines. Additionally, monitoring the generated lxc.conf files for unexpected multi-line directives can serve as a detection control to identify exploitation attempts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LXD is Canonical's system container and virtual machine manager, built atop LXC (Linux Containers). When instances are configured with NVIDIA GPU passthrough, LXD generates a per-instance lxc.conf file that incorporates user-supplied NVIDIA configuration options such as nvidia.driver.capabilities (which controls driver feature sets like compute, video, or graphics) and nvidia.require.* constraints. The root cause is CWE-78 (Improper Neutralization of Special Elements Used in an OS Command), manifesting specifically as configuration injection: by embedding raw newline characters (\n) within these config values, an attacker can break out of the intended single-line value context and insert wholly new lxc.conf directives - such as lxc.mount.entry, lxc.cap.keep, or lxc.apparmor.profile none - which the LXC runtime processes as legitimate configuration at instance startup. The affected CPE cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* indicates all LXD versions are potentially vulnerable, with no version range upper bound confirmed from available data.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
PR:L confirmed by authenticated LXD user requirement; S:C and full C/I/A reflect host-level code execution via lxc.conf injection from a container-scoped component.
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
Lifecycle Timeline
4DescriptionCVE.org
An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling allows an authenticated attacker to inject arbitrary configuration directives. By supplying newline characters within the 'nvidia.driver.capabilities' or 'nvidia.require.*' configuration values, an attacker can manipulate the generated lxc.conf file. This flaw enables the attacker to execute arbitrary code on the host system with the privileges of the LXD daemon.
Articles & Coverage 1
Executive ViewAI
Canonical LXD deployments are vulnerable to a critical configuration injection flaw that enables low-privilege users to escape container boundaries and compromise the underlying host system. In multi-tenant or shared LXD environments, this creates an immediate path to infrastructure compromise and potential data breach. The vendor has not yet released a patch, requiring organizations to implement urgent access restrictions.
Restrict instance configuration and creation privileges to administrators only; disable LXD instances for untrusted users; deploy LXD hosts in isolated network segments with restricted network access; implement host-level file integrity monitoring and anomaly detection; restrict outbound network access from LXD hosts to prevent lateral movement. No vendor-released patch identified at time of analysis.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write
Authorization bypass in Canonical LXD (6.0 before 6.10, 5.21.x before 5.21.6, 5.0.x before 5.0.8) lets an authenticated
Project-confinement bypass in Canonical LXD lets an authenticated user holding can_create_instances on a restricted proj
EUVD-2026-57511
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB