{"id":"CVE-2026-63298","state":"PUBLISHED","title":"LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration","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.","publishedAt":"2026-08-12T19:22:07.286Z","updatedAt":"2026-08-13T14:33:57.467Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"canonical"},"assigner":"canonical","products":["Canonical LXD"],"affected":[{"vendor":"Canonical","product":"LXD","packageName":"LXD","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.8","versionType":"semver"},{"version":"5.21.0","status":"affected","lessThan":"5.21.6","versionType":"semver"},{"version":"4.0.0","status":"affected","lessThan":"4.0.12","versionType":"semver"}],"platforms":["Linux"],"repo":"https://github.com/canonical/lxd"}],"references":["https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63298.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63298","state":"PUBLISHED","datePublished":"2026-08-12T19:22:07.286Z","dateUpdated":"2026-08-13T14:33:57.467Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2026-07-16T09:49:29.911Z"},"containers":{"cna":{"title":"LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical","product":"LXD","packageName":"LXD","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.8","versionType":"semver"},{"version":"5.21.0","status":"affected","lessThan":"5.21.6","versionType":"semver"},{"version":"4.0.0","status":"affected","lessThan":"4.0.12","versionType":"semver"}],"platforms":["Linux"],"repo":"https://github.com/canonical/lxd"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2","tags":["vdb-entry","vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2026-08-12T19:22:07.286Z"},"impacts":[{"capecId":"CAPEC-81","descriptions":[{"lang":"en","value":"Input Data Manipulation"}]},{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"Privilege Escalation"}]}],"source":{"discovery":"EXTERNAL"},"solutions":[{"lang":"en","value":"Upgrade to LXD version 4.0.12 or later, 5.0.8 or later, or 5.12.6 or later."}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T14:33:35.469940Z","id":"CVE-2026-63298","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T14:33:57.467Z"}}]}}}