CVE-2026-140085

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

Published Dec 1, 2026 CVSS 4.0 · 7.3 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root
Weaknesses CWE-427
References
Metrics cvssV4_0

{'score': 7.3, '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'}

Subscriptions

No data.

Weaknesses
  • CWE-427

    Uncontrolled Search Path Element

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Dec 1, 2026, 9:01 PM
Reserved
Nov 30, 2026, 8:03 PM
Status
Deferred
Published
Dec 1, 2026, 9:17 PM
Modified
Dec 1, 2026, 9:17 PM