Technical impact
The vulnerability is an OS command injection that occurs in LXD before version 5.21.0 and 6.10.0. An authenticated user who is limited to a single project can inject arbitrary commands into the raw.dnsmasq key, which LXD copies verbatim to the host’s dnsmasq configuration. When a DHCP lease event triggers dnsmasq, the injected dhcp-script runs with root privileges, allowing an attacker to fully compromise the host system.
Affected Systems
The affected products are Canonical LXD 5.x versions older than 5.21.0 and 6.x versions older than 6.10.0. Users who create bridge networks in a project where features.networks remains false are susceptible, as the raw.dnsmasq configuration is not restricted to system administrators.
Risk and Exploitability
The CVSS score of 6.5 indicates a moderate severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Attackers need only have authenticated access to a project in LXD; they can supply malicious input via the raw.dnsmasq key. Because the injected script runs on every DHCP lease event, the impact is host‑wide remote code execution executed as root.