LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 5.0.0 to before 5.0.8; 5.21.0 to before 5.21.6; 4.0.0 to before 4.0.12 | 5.0.8, 5.21.6, 4.0.12 | Patch available | CNA |
- LXD VendorCanonical Affected 5.0.0 to before 5.0.8; 5.21.0 to before 5.21.6; 4.0.0 to before 4.0.12 Fixed in 5.0.8, 5.21.6, 4.0.12 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* | 4.0.0 to before 4.0.12; 5.0.0 to before 5.0.8; 5.1 to before 5.21.6; 6.0 – 6.9 | Vulnerable | Canonical |
- cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.0.12; 5.0.0 to before 5.0.8; 5.1 to before 5.21.6; 6.0 – 6.9 Vulnerable ·Canonical
Remediation
- Fix · CNA LXD (Canonical) Fixed in 5.0.8, 5.21.6, 4.0.12
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63298
References
More Canonical Lxd vulnerabilities
- TI-2026-22659 Authenticated RCE via unsanitized compression_algorithm CVSS 4.0CRITICAL 9.4
- TI-2026-47475 Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE CVSS 3.1CRITICAL 9.9
- TI-2026-45146 Cross-project instance move bypasses all project restrictions allowing host command execution CVSS 3.1CRITICAL 9.9
- TI-2026-45143 Cross-project instance copy bypasses target project restrictions via TOCTOU in config merge CVSS 3.1CRITICAL 9.9
- TI-2026-45142 Project restriction bypass via instance migration config override CVSS 3.1CRITICAL 9.9
- TI-2026-45140 Root RCE via image backup.yaml symlink CVSS 3.1CRITICAL 9.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences