LXD Snapshot Import Privilege Escalation Vulnerability
A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-9640
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:23 UTC · Revision 1
Source evidence
LXD Snapshot Import Privilege Escalation Vulnerability
core-osv · Original sourcePublished 26 Jun 2026, 15:50 UTC
A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access.
osv:CVE-2026-9640
Complete source record
{
"id": "212b092ae9d26bd63e76c52d17e64ccb096b9a754033899c684a84bcb9baad0d",
"url": "https://osv.dev/vulnerability/CVE-2026-9640",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LXD Snapshot Import Privilege Escalation Vulnerability",
"summary": "A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access.",
"evidence": "osv:CVE-2026-9640",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-9640",
"aliases": [
"CVE-2026-9640",
"GHSA-ppq7-4492-5552"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/canonical/lxd",
"type": "GIT",
"events": [
{
"introduced": "538ac3df036e4a8c0197d0f52d125be1b51879d0"
},
{
"fixed": "7b1f0b6acefa288398ead8dda48b046d7b2795a3"
},
{
"introduced": "761d134ceabd306f57acfb0ca51f59b03751a5b0"
},
{
"fixed": "c5184be310b13a8be5d9a5f286bfa1c0c286716e"
},
{
"introduced": "0"
},
{
"fixed": "85f897013ccdb0f8f44d434a3b655d2edcefcfae"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.12"
},
{
"fixed": "5.0.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.21.0"
},
{
"fixed": "5.21.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0"
},
{
"fixed": "6.9"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"lxd-6.8",
"lxd-5.17",
"lxd-5.16",
"lxd-5.15",
"lxd-5.14",
"lxd-5.13",
"lxd-5.12",
"lxd-5.11",
"lxd-5.0.2",
"lxd-5.10",
"lxd-5.9",
"lxd-5.8",
"lxd-5.7",
"lxd-5.6",
"lxd-5.5",
"lxd-5.0.1",
"lxd-5.4",
"lxd-5.3",
"lxd-5.2",
"lxd-5.1",
"lxd-5.0.0",
"lxd-4.24",
"lxd-4.23",
"lxd-4.22",
"lxd-4.21",
"lxd-4.20",
"lxd-4.19",
"lxd-4.18",
"lxd-4.17",
"lxd-4.16",
"lxd-4.15",
"lxd-4.14",
"lxd-4.13",
"lxd-4.12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9640.json"
}
}
],
"modified": "2026-10-28T02:30:49.622363405Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9640.json",
"https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552",
"https://nvd.nist.gov/vuln/detail/CVE-2026-9640",
"https://github.com/canonical/lxd/pull/18301",
"https://github.com/canonical/lxd/pull/18303",
"https://github.com/canonical/lxd/pull/18304",
"https://github.com/canonical/lxd"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "canonical",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9640.json"
}
},
"related_cves": [
{
"value": "CVE-2026-9640",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518100,
"published_at": "2026-06-26T15:50:38.453+00:00"
}