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

Published Nov 26, 2026
·
Updated

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.

Affected Software

1 affected component
Canonical LXD<5.21.0, <6.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lxd to a version that resolves this vulnerability.

    Fixed in 5.21.0
  2. Upgrade

    Upgrade lxd to a version that resolves this vulnerability.

    Fixed in 6.10.0

Event History

Nov 26, 2026
CVE Published
via MITRE·11:16 PM
Data Sourced
via MITRE·11:16 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments running LXD versions before 5.21.0 or 6.10.0 are affected if an authenticated client is restricted to a single project whose features.networks setting remains at its default value of false. In that situation, the client can cause a bridge network to be created in the default project.

2

What access does an attacker need?

The attacker needs to be an authenticated LXD client with access restricted to a single project. They do not need server-administrator permissions because the raw.dnsmasq bridge network configuration key is not restricted to administrators.

3

What triggers execution of the injected code?

The attacker injects a dhcp-script directive through raw.dnsmasq configuration. Host dnsmasq executes the attacker-chosen code as root when a DHCP lease event occurs.

4

How can I determine whether an environment is vulnerable?

Check whether the LXD version is earlier than 5.21.0 or 6.10.0, and identify project-restricted authenticated clients whose projects have features.networks=false. Also review bridge network raw.dnsmasq configuration for unexpected dhcp-script directives.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203