# CVE-2026-140085: lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root

- Priority: **Routine**
- Reason: Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-03
- Aliases: DEBIAN-CVE-2026-140085, UBUNTU-CVE-2026-140085
- Record: https://cvemate.com/vulnerability/CVE-2026-140085 · JSON: https://cvemate.com/vulnerability/CVE-2026-140085/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v4.0, CVE.org) 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
- EPSS: 0.198%, percentile 9.987%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical lxd: ≥ 6.10, \< 6.10.2
- debian lxd (Debian): All versions (No fix recorded)
- ubuntu lxd (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-mm7v-2mcg-5fjg>
- <https://security-tracker.debian.org/tracker/CVE-2026-140085>
- <https://ubuntu.com/security/CVE-2026-140085>
- <https://www.cve.org/CVERecord?id=CVE-2026-140085>

---

Data as of 2026-12-05T02:22:01.042Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
