CVE-2026-63298: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Canonical LXD
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-63298) affects Canonical LXD versions 4.0.0 through before 4.0.12, 5.0.0 through before 5.0.8, and 5.21.0 through before 5.21.6. It involves improper neutralization of special elements (CWE-78) in the handling of NVIDIA instance configuration parameters such as 'nvidia.driver.capabilities' and 'nvidia.require.*'. By injecting newline characters into these configuration values, an authenticated attacker can alter the generated lxc.conf file, enabling arbitrary code execution on the host system with the privileges of the LXD daemon. The CVSS v3.1 base score is 8.7, indicating high severity with network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the host system with the privileges of the LXD daemon. This can lead to full compromise of the host environment, including unauthorized access, data manipulation, and service disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict access to LXD daemon to trusted users only and avoid using vulnerable NVIDIA instance configuration parameters if possible.
CVE-2026-63298: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Canonical LXD
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.
CVSS v3.1
Score 8.7high
Affected software
Canonical
LXD
pkg:github/LXDRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-63298) affects Canonical LXD versions 4.0.0 through before 4.0.12, 5.0.0 through before 5.0.8, and 5.21.0 through before 5.21.6. It involves improper neutralization of special elements (CWE-78) in the handling of NVIDIA instance configuration parameters such as 'nvidia.driver.capabilities' and 'nvidia.require.*'. By injecting newline characters into these configuration values, an authenticated attacker can alter the generated lxc.conf file, enabling arbitrary code execution on the host system with the privileges of the LXD daemon. The CVSS v3.1 base score is 8.7, indicating high severity with network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated attacker to execute arbitrary code on the host system with the privileges of the LXD daemon. This can lead to full compromise of the host environment, including unauthorized access, data manipulation, and service disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict access to LXD daemon to trusted users only and avoid using vulnerable NVIDIA instance configuration parameters if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-07-16T09:49:29.911Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7cd124bf8831d53911d063
Added to database: 08/12/2026, 20:01:40 UTC
Last enriched: 08/12/2026, 20:13:24 UTC
Last updated: 09/26/2026, 01:47:43 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.