CVE-2026-127162: lxd: Improper output encoding in Prometheus metrics exposition
Improper output encoding in Prometheus metrics exposition in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows a user controlling a virtual machine to forge host metric labels and break metrics scraping via unescaped guest-controlled filesystem mountpoints and network interface names.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs control of a virtual machine managed by the affected LXD host and must be able to influence guest filesystem mountpoints or network interface names. The impact is on the host's Prometheus metrics exposition.
What versions need to be remediated?
Canonical LXD versions before 5.0.12, 5.21.10, and 6.10.2 are affected. Upgrade to the applicable fixed release or later.
What can happen if exploitation succeeds?
Guest-controlled values can be emitted without proper escaping, allowing forged host metric labels and potentially causing Prometheus metrics scraping to fail.