Skip to main content
← All vulnerabilities
CVE-2026-63298

LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.8, 5.21.6, 4.0.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • LXD

    From 5.0.0 · fixed in 5.0.8; From 5.21.0 · fixed in 5.21.6; From 4.0.0 · fixed in 4.0.12

References 1

GitHub · canonical/lxd