CVE-2026-63298

LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration

State
Published
Severity
8.7 High
Published
Aug 12, 2026
Updated
Aug 13, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
LXDCanonical
  • 5.0.0 to before 5.0.8Affected
  • 5.21.0 to before 5.21.6Affected
  • 4.0.0 to before 4.0.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.