lxd: Host root code execution via raw.dnsmasq configuration injection by restricted project users
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CanonicalLXD |
≥ 4.8, < 5.21.0→ 5.21.0 ≥ 4.8, < 6.10.0→ 6.10.0 |
5.21.0 6.10.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115844 lxd No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-115844 lxd No fixed version in this record
Original description The description as published by the source.
In LXD before 5.21.0 and 6.10.0, an OS command injection vulnerability allows an authenticated client restricted to a single project to execute arbitrary code as root on the host.
The raw.dnsmasq bridge network configuration key is not restricted to server administrators and is copied verbatim into the dnsmasq configuration file, so a user whose project keeps the default features.networks=false can have a bridge network created in the default project with an injected dhcp-script directive. This allows an attacker to make the host dnsmasq execute attacker-chosen code as root on a DHCP lease event and fully compromise the host.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com