CVE-2026-63298
JSON

8.7high

LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration

Severity
8.7high CVSS:3.1 by canonical
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical

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

Product or packageVersionsReported by
LXDfrom 5.0.0 before 5.0.8, from 5.21.0 before 5.21.6, from 4.0.0 before 4.0.12CVE List
canonical lxdfrom 4.0.0 before 4.0.12, from 5.0.0 before 5.0.8, from 5.1 before 5.21.6, from 6.0 up to 6.9NVD

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad de neutralización inadecuada de elementos especiales en el manejo de la configuración de instancias NVIDIA de LXD permite a un atacante autenticado inyectar directivas de configuración arbitrarias. Al proporcionar caracteres de nueva línea dentro de los valores de configuración ’nvidia.driver.capabilities’ o ’nvidia.require.*’, un atacante puede manipular el archivo lxc.conf generado. Esta falla permite al atacante ejecutar código arbitrario en el sistema anfitrión con los privilegios del demonio LXD.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63298 changed 2026-08-13CVE Terms of Use
NVDCVE-2026-63298 changed 2026-10-24Public domain