Vulnerability · Published Aug 12, 2026 · Assigned by canonical
CVE-2026-63298LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration
High 8.7
In plain English
A high-severity OS command injection in LXD from Canonical. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lxd | no fix listed | DEBIAN-CVE-2026-63298 |
| Debian:13 | lxd | no fix listed | DEBIAN-CVE-2026-63298 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2 vdb-entry, vendor-advisory