CVE-2026-140085
lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root
- Severity
- high CVSS 7.3 (v4.0)
- Affects
- LXD · Canonical
- Weakness
- CWE-427 Uncontrolled Search Path Element
- Published
- 1 December 2026 by canonical
Uncontrolled search path element in the run-host command wrapper in Canonical LXD 6.10 before 6.10.2 allows any local user to execute arbitrary code as root via a Python per-user site directory planted under the host's world-writable /tmp, which the root-run pro client imports at the next LXD daemon start because the snap launcher exports HOME=/tmp/ and run-host does not reset it for host commands.
Our coverage
We have not written about this one. Know why it matters? Send a tip.