Critical severity · published Aug 12, 2026
CVE-2026-63298
LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration
9.9
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LX
LXD · Canonical
5.0.0 before 5.0.8; 5.21.0 before 5.21.6; 4.0.0 before 4.0.12 · source: vendor, NVD
Affected product
LX
LXD
Canonical
More from LXD
9.9
CVE-2026-87799
Arbitrary file write on LXD host via symlink in migration stream
9.9
CVE-2026-85526
Path traversal via Btrfs optimized-backup subvolumes[].path enables root file/dir manipulation in LXD
9.9
CVE-2026-66897
Instance template path traversal allows arbitrary host file write as root
9.9
CVE-2026-66898
Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE
9.9
CVE-2026-63293
Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root