Configuration injection in Canonical LXD liblxc lets users run commands as root
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-269.
Summary
Canonical LXD from 4.0 before 6.10.2, 5.21.10, 5.0.12 and 4.0.16 contains a configuration injection flaw in liblxc instance configuration generation, classified as CWE-93. Line breaks in instance configuration keys and values are not neutralized, so an authenticated user with restricted project access or a local user of the LXD user socket can execute arbitrary commands as root on the host. The attack requires low privileges and no user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
Configuration injection in liblxc instance configuration generation in Canonical LXD before 6.10.2, 5.21.10, 5.0.12, 4.0.16 allows an authenticated user with restricted project access or a local user of the LXD user socket to execute arbitrary commands as root on the host via line breaks in instance configuration keys and values.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | LXD | 4.0 to before 6.10.2; 4.0 to before 5.21.10; 4.0 to before 5.0.12; 4.0 to before 4.0.16 | 6.10.2, 5.21.10, 5.0.12, 4.0.16 | Patch available | CNA |
- LXD VendorCanonical Affected 4.0 to before 6.10.2; 4.0 to before 5.21.10; 4.0 to before 5.0.12; 4.0 to before 4.0.16 Fixed in 6.10.2, 5.21.10, 5.0.12, 4.0.16 Patch available CNA
Remediation
Upgrade Canonical LXD to version 6.10.2, 5.21.10, 5.0.12 or 4.0.16, depending on the release branch in use. The sources list no further vendor advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA LXD (Canonical) Fixed in 6.10.2, 5.21.10, 5.0.12, 4.0.16
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Canonical LXD 4.0.16, 5.0.12 and 2 more versions
19 records Highest priority Priority LOW 19 LOW
Other records, highest priority first
- TI-2026-99082 Improper link resolution in Canonical LXD recursive file pullPriority LOW 39
- TI-2026-99050 Path traversal in LXD lets clients write and delete host filesPriority LOW 30
- TI-2026-99085 Canonical LXD resource exposure to wrong sphere in image metadata handlingPriority LOW 29
Timeline
- 2026-11-26 Threatist record created from CVE-2026-136974
References
More Canonical vulnerabilities
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences