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).

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.7%top 47.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12lxdno fix listedDEBIAN-CVE-2026-63298
Debian:13lxdno fix listedDEBIAN-CVE-2026-63298

Affected products (as reported)

VendorProductVersions
Canonical LXD 5.0.0 – before 5.0.85.21.0 – before 5.21.64.0.0 – before 4.0.12

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References