Read the docs

LXD command injection lets project users run code as host root

Priority LOW 32CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

Canonical LXD from 4.8 before 5.21.0 and from 4.8 before 6.10.0 contains an OS command injection flaw (CWE-78). The raw.dnsmasq bridge network key is not restricted to server administrators and is copied verbatim into the dnsmasq configuration. An authenticated client restricted to one project can create a default project bridge network with an injected dhcp-script directive. This runs attacker-chosen code as root on the host when a DHCP lease event occurs.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.01316 70th percentileScored 2026-11-30
Fix Fixed LXD (Canonical): 5.21.0, 6.10.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
CanonicalLXD4.8 to before 5.21.0; 4.8 to before 6.10.05.21.0, 6.10.0Patch availableCNA
  • LXD VendorCanonical Affected 4.8 to before 5.21.0; 4.8 to before 6.10.0 Fixed in 5.21.0, 6.10.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*——Canonical
  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* Versions — — ·Canonical

Remediation

Upgrade Canonical LXD to 5.21.0 on the 5.x branch or to 6.10.0 on the 6.x branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA LXD (Canonical) Fixed in 5.21.0, 6.10.0

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-115844

References

  • TI-2020-09349 SaltStack Salt salt-master ClearFuncs allows unauthenticated method calls KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05854 Command injection in OpenSMTPD lets remote users run commands as root KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-01431 Netlogon elevation of privilege in Microsoft Windows Server KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-12627 Heap-based buffer overflow in Exim allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-07471 Improper recipient validation in Exim allows remote command execution KEVCVSS 3.1CRITICAL 9.8
See all 4340 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences