CVE-2026-140085

Source
https://cve.org/CVERecord?id=CVE-2026-140085
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140085.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140085
Aliases
  • GHSA-mm7v-2mcg-5fjg
Published
2026-12-01T21:01:57Z
Modified
2026-12-01T23:00:12Z
Severity
  • 7.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root
Details

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.

Database specific
{
    "cna_assigner":  "canonical",
    "cwe_ids":  [
        "CWE-427"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140085.json"
}
References

Affected packages

Git / github.com/canonical/lxd

Affected ranges

Type
GIT
Repo
https://github.com/canonical/lxd
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "6.10"
                },
                {
                    "fixed":  "6.10.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

lxd-6.*
lxd-6.10.0
lxd-6.10.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140085.json"