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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 4.0.12, 5.0.8, 5.21.6 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-12 · Modified: 2026-08-13
- Aliases: UBUNTU-CVE-2026-63298, DEBIAN-CVE-2026-63298
- Record: https://cvemate.com/vulnerability/CVE-2026-63298 · JSON: https://cvemate.com/vulnerability/CVE-2026-63298/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.467%, percentile 42.108%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- canonical lxd: ≥ 5.21.0, \< 5.21.6 \| ≥ 4.0.0, \< 4.0.12 \| ≥ 5.0.0, \< 5.0.8 \| ≥ 5.1, \< 5.21.6 \| ≥ 6.0, ≤ 6.9
- debian lxd (Debian): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2>
- <https://ubuntu.com/security/CVE-2026-63298>
- <https://www.cve.org/CVERecord?id=CVE-2026-63298>
- <https://security-tracker.debian.org/tracker/CVE-2026-63298>

---

Data as of 2026-12-05T14:17:14.597Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
