All vulnerabilities

Servers and applications

CVE-2026-115844

Restricted project users can inject dnsmasq configuration and escalate to host root

Severity
Medium 6.5
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
5.0.12, 5.21.0, 6.10.0
Exploit chance
1.3% in the next 30 daysHigher than 70% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Also known as
GHSA-4x5q-58w4-gjxq
Sources
CVE Program, Project advisories (GitHub)

Description

LXD lets a user with a restricted TLS certificate create a bridge network in the default project, and it does not restrict the raw.dnsmasq configuration key to server administrators. The key is copied verbatim into dnsmasq.raw, loaded through --conf-file, and dnsmasq is started with -u lxd -g lxd; AppArmor confinement for dnsmasq is explicitly skipped whenever the key is non-empty (lxd/network/driver_bridge.go:606,1191-1205,1241-1249). Note that -u/-g only drops privileges for the dnsmasq service process; it does not constrain the lease-change script.

A user whose restricted project keeps the default features.networks=false is allowed by the TLS authorizer to create that network in the default project (lxd/auth/drivers/tls.go:32-45,250-272). Supplying raw.dnsmasq: dhcp-script=/path/to/script is enough to have the host dnsmasq execute attacker-chosen code on the next DHCP lease event.

From canonical/lxd's security advisory. Shortened; the full text is there.

Workarounds

Until a patched release exists, restrict who can create or edit networks. In particular, do not grant can_create_networks or can_edit on the default project to restricted TLS certificates or to OpenFGA groups that are meant to be tenant-scoped. Operators can also audit existing networks for raw.dnsmasq entries and remove any that were not configured by a server administrator:

For deployments that can modify the daemon, lowering the dnsmasq service user is not sufficient: dhcp-script still runs as root by default.

Workarounds as given by canonical/lxd's security advisory.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 4.8 before 5.21.0
  • From 4.8 before 6.10.0
LXDServers and applications · github:canonical/lxd
  • From 4.8 before 5.0.12

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo longer supported. Debian: EOL in bookworm LTS

From Debian's security tracker for CVE-2026-115844 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References