CVE Professor
/
All CVEs
CVE-2026-140085

CVE-2026-140085 — Canonical LXD — CWE-427

HIGH CVSS 7.3 Shodan

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.

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 v4.0 Vector Metrics
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
Attack Vector Local AV:L
Attack Complexity High AC:H
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140085
CVSS 7.3/10 · HIGH · 01.12.2026
CWE: CWE-427
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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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 comma…
Affected: Canonical LXD

⚡ ATTACK VECTOR
Local/physical access (AV:L) · low-privilege account (PR:L) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for Canonical LXD.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ Planned maintenance (2 weeks).

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Canonical LXD"
CVSS Score
7.3 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-427
Affected Products (1)
Canonical:LXD
References & Advisories (1)
Related CVEs
7.5
CVE-2026-45693
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, the static file c
5.4
CVE-2026-145190
Wiki.js 3.0.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to m
5.4
CVE-2026-145192
Wiki.js 3.0.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to c
7.1
CVE-2026-143090
In the Linux kernel, the following vulnerability has been resolved: xen/pvcalls: unwind pvcalls_new_active_so
8.5
CVE-2026-107669
A vulnerability allowing a low-privileged local user to execute arbitrary code with the privileges of the Veea
7.8
CVE-2026-127176
IBM PowerVM VIOS 4.1 could allow a local authorized user to escalate their privileges due an uncontrolled sea
7.0
CVE-2026-112767
A privileged executable search-path vulnerability in the UpdateParam.bat script included with Silicon Labs CP2