CVE-2026-63298: canonical lxd

CVSS 9.9 (critical) · published 2026-08-12

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 products (NVD): canonical lxd

Fixed in (NVD): 4.0.12, 5.0.8, 5.21.6

Weakness: CWE-78

Source: NVD CVE-2026-63298

References

Check your software

Connect an AI agent to the FixLane MCP server or ask the Telegram bot to check what you have installed against incidents with a verified fixed version.