Skip to main content
EPSS 0.7%top 49%

CVE-2026-63298: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Canonical LXD

0
High
VulnerabilityCVE-2026-63298cvecve-2026-63298cwe-78
Published: 08/12/2026 (08/12/2026, 19:22:07 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

Canonical

LXD

Affected versions
>=5.0.0 <5.0.8>=5.21.0 <5.21.6>=4.0.0 <4.0.12
GitHub Actionsmore threats →cve
LXD
pkg:github/LXD
Affected versions
>=5.0.0 <5.0.8>=5.21.0 <5.21.6>=4.0.0 <4.0.12

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 20:13:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses