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

 

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

Published: November 27, 2026


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

Vulnerability details

The vulnerability allows a remote user to forge labels in the host's metrics output or cause Prometheus to discard the entire host-wide scrape.

The vulnerability exists due to improper escaping of label values in the LXD metrics renderer when it incorporates guest-controlled values into the OpenMetrics response at /1.0/metrics. A remote user can use root access within a tenant VM to manipulate filesystem mountpoints or network interface names and thereby inject labels or disrupt metrics collection.


Affected software

LXD

How to mitigate CVE-2026-127162

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