CVE-2026-63298

published 12 Aug 2026 · updated 13 Aug 2026

LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 4.0.12, 5.0.8 and 5.21.6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical>=4.0.0 <4.0.12, >=5.0.0 <5.0.8, >=5.21.0 <5.21.64.0.12, 5.0.8, 5.21.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-63298 severity on Zeptric[![CVE-2026-63298](https://zeptric.io/badge/cve/CVE-2026-63298.svg)](https://zeptric.io/cve/CVE-2026-63298)