# CVE-2026-63298: LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration

- Severity: High 8.7 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-12T19:22:07.286Z
- Modified: 2026-10-24T16:10:00.153Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- LXD: from 5.0.0 before 5.0.8; from 5.21.0 before 5.21.6; from 4.0.0 before 4.0.12
- canonical lxd: from 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.9

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2> (exploit, mitigation, vdb-entry, vendor-advisory)

## Sources

- CVE List: [CVE-2026-63298](https://www.cve.org/CVERecord?id=CVE-2026-63298), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-63298](https://nvd.nist.gov/vuln/detail/CVE-2026-63298), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63298 · Whole record: https://cve.day/CVE-2026-63298.json · Rebuilt by cve.day 2026-11-25T22:59:32.623Z
