CRLF injection in LXD - CVE-2026-136974

 

CRLF injection in LXD - CVE-2026-136974

Published: November 27, 2026


Vulnerability identifier: #VU170734
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-136974
CWE-ID: CWE-93
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass restricted project controls and execute arbitrary commands as root on the LXD host.

The vulnerability exists due to improper neutralization of line breaks in the LXD container configuration writer when it serializes environment.* key names or, in the tested edge build, linux.sysctl.* values. A remote user can submit crafted container configuration in a restricted project to execute arbitrary commands as root on the host.


Affected software

LXD

How to mitigate CVE-2026-136974

Install security update from vendor's website.

LXD - addressed in versions 4.0.16, 5.0.12, 5.21.10, 6.10.2

External References

Related Security Bulletins