lxd: Host root code execution via raw.dnsmasq configuration injection by restricted project users

State
Published
Severity
6.5 Medium
Published
Nov 26, 2026
Updated
Nov 26, 2026
Reserved
Oct 23, 2026

Read the record on cve.org

Description

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.

ProductVersions
LXD Canonical4.8 to before 5.21.0 Affected4.8 to before 6.10.0 Affected

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.