CVE-2026-140085: lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root
Vulnerability summary
CVE-2026-140085 is a high (CVSS 7.3) Uncontrolled Search Path Element vulnerability in canonical lxd. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.9% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- NVDNIST7.3HighCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Canonical1 product
- lxd≥ 6.10, < 6.10.2
Debian1 product
- lxdAll versions (No fix recorded)
Ubuntu1 product
- lxdAll versions (No fix recorded)
3 vendors · 3 products