LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration (Canonical LXD)

CVE-2026-63298
HIGH 8.7

At a glance

Source
NVD
EPSS
EPSS 0.69 % · percentile 53 ()
State
PUBLISHED
Published
Updated
Assigner
canonical
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-78 — Improper Neutralization of Special Elements used in an OS Command

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical
CVSS 3.1CRITICAL 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · security@ubuntu.com (Secondary)

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Canonical · LXDaffected 5.0.0 < 5.0.8 ; affected 5.21.0 < 5.21.6 ; affected 4.0.0 < 4.0.12

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD