CVE-2026-63298
LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration
CVSS Score
8.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | canonical |
| Product | lxd |
| Ecosystems | |
| Industries | Technology |
| Published | Aug 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for canonical lxd
Be the first to know when new high vulnerabilities affecting canonical lxd are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
Canonical / LXD
5.0.0 < 5.0.8 5.21.0 < 5.21.6 4.0.0 < 4.0.12