{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140085","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","state":"PUBLISHED","assignerShortName":"canonical","dateReserved":"2026-11-30T20:03:48.099Z","datePublished":"2026-12-01T21:01:57.201Z","dateUpdated":"2026-12-01T21:01:57.201Z"},"containers":{"cna":{"title":"lxd: Uncontrolled search path element in run-host HOME handling allows local privilege escalation to root","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-427","description":"CWE-427 Uncontrolled Search Path Element","type":"CWE"}]}],"affected":[{"vendor":"Canonical","product":"LXD","platforms":["Linux"],"packageName":"lxd","repo":"https://github.com/canonical/lxd","versions":[{"status":"affected","version":"6.10","lessThan":"6.10.2","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"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."}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-mm7v-2mcg-5fjg","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.3,"vectorString":"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"}}],"credits":[{"lang":"en","value":"lto7777777","type":"reporter"}],"source":{"discovery":"EXTERNAL"},"providerMetadata":{"orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical","dateUpdated":"2026-12-01T21:01:57.201Z"},"x_generator":{"engine":"cvelib 1.8.0"}}}}