{"id":"CVE-2026-63298","summary":"LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration","details":"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.","aliases":["GHSA-vfh7-q59q-54v2"],"modified":"2026-08-15T11:31:05.310562296Z","published":"2026-08-12T19:22:07.286Z","database_specific":{"cna_assigner":"canonical","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63298.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63298.json"},{"type":"ADVISORY","url":"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63298"},{"type":"PACKAGE","url":"https://github.com/canonical/lxd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canonical/lxd","events":[{"introduced":"1e1349e3cbf30c1b2ce74e531d4dd0fd52c45be1"},{"fixed":"58b58151cfc3bd9fb0fedce26fcdd73a3e67bdb8"},{"introduced":"761d134ceabd306f57acfb0ca51f59b03751a5b0"},{"fixed":"c6146714d0cacd04b77598bac149f5db714834f6"},{"introduced":"03aab09f5b5cbdada00c6539877dcf5932fcde98"},{"fixed":"a55c9d0228552323d96cc330fb36f9471581c4ab"}],"database_specific":{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.8"},{"introduced":"5.21.0"},{"fixed":"5.21.6"},{"introduced":"4.0.0"},{"fixed":"4.0.12"}],"source":"AFFECTED_FIELD"}}],"versions":["lxd-5.0.7","lxd-5.21.5","show","lxd-4.0.11","lxd-4.0.9","lxd-5.17","lxd-5.16","lxd-5.15","lxd-5.14","lxd-5.13","lxd-5.12","lxd-5.11","lxd-5.0.2","lxd-5.10","lxd-5.9","lxd-5.8","lxd-5.7","lxd-5.6","lxd-5.5","lxd-5.0.1","lxd-5.4","lxd-5.3","lxd-5.2","lxd-5.1","lxd-5.0.0","lxd-4.0.8","lxd-4.0.7","lxd-4.0.6","lxd-4.0.5","lxd-4.0.4","lxd-4.0.3","lxd-4.0.2","lxd-4.0.1","lxd-4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63298.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}