CVE-2026-115844
published medium CVSS 4.0 · 6.5lxd: Host root code execution via raw.dnsmasq configuration injection by restricted project users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | lxdLXD · 4.8 to < 5.21.0 · 4.8 to < 6.10.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | LXD | 4.8 to < 5.21.0 (affected · semver)4.8 to < 6.10.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
1Provider assertions
1canonical · cna
lxd: Host root code execution via raw.dnsmasq configuration injection by restricted project users
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 726543d7b37904b59d5c5ed6c43cee31fa98d25e1c05d1c5ae37b3c0348da863
- Ingested
- 26 Nov 2026, 23:24:19 UTC
- Source record
- Official CVE record