CVE-2026-140085: Vulnerability in Canonical LXD
Patch soon. 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.
CWE-427
- Exploitation
- None confirmed
- Severity
- 7.3 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-427
- Published
- 1 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Canonical LXD From 6.10 before 6.10.2. Fixed in 6.10.2
Advisories
Vendor and security advisories
Related
- LXD vulnerabilities Recent advisories, watch this product