Skip to main content
VulnerabilityPublished

CVE-2026-63298: Canonical LXD · OS Command Injection

Affects Canonical LXDSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High · fixed in 5.21.6 : patch Canonical LXD soon.

Data as of 9 Nov 2026, 23:24 UTC

CVSS 3.1 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.21.6, 5.0.8, 4.0.12
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.

What to do

Upgrade Canonical LXD to 5.21.6, 5.0.8 or 4.0.12.

Affected software

ProductAffectedFixed in
CanonicalLXDAffected
  • >=5.21.0 <5.21.6
Fixed in
  • 5.21.6
CanonicalLXDAffected
  • >=5.0.0 <5.0.8
Fixed in
  • 5.0.8
CanonicalLXDAffected
  • >=4.0.0 <4.0.12
Fixed in
  • 4.0.12
GitHubLXDpkg:github/LXDOther threatsAffected
  • >=5.0.0 <5.0.8
  • >=5.21.0 <5.21.6
  • >=4.0.0 <4.0.12
Fixed in
  • 5.0.8
  • 5.21.6
  • 4.0.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, restrict access to LXD daemon to trusted users only and avoid using vulnerable NVIDIA instance configuration parameters if possible.

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.

References

Community reviews

Loading reviews…