Improper Encoding or Escaping of Output in LXD - CVE-2026-127160

 

Improper Encoding or Escaping of Output in LXD - CVE-2026-127160

Published: November 27, 2026


Vulnerability identifier: #VU170731
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-127160
CWE-ID: CWE-116
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to bypass a restricted project's low-level virtual machine controls and gain access to a host-side control monitor for a QEMU process running as root.

The vulnerability exists due to improper escaping in the LXD QEMU configuration generator when it writes a pathname derived from a disk device's guest path as a quoted value. A remote user can supply a crafted disk device path when creating a virtual machine in a restricted project to inject unauthorized QEMU configuration entries.


Affected software

LXD

How to mitigate CVE-2026-127160

Install security update from vendor's website.

LXD - addressed in versions 5.0.12, 5.21.10, 6.10.2

External References

Related Security Bulletins