{
  "id": "CVE-2026-9640",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-9640",
  "published_at": "2026-06-26T15:50:38.453Z",
  "title": "LXD Snapshot Import Privilege Escalation Vulnerability",
  "vendor": "Canonical",
  "product": "LXD",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Canonical",
        "product": "LXD",
        "ranges": [
          "\u003e= 5.21.0, \u003c 5.21.5",
          "\u003e= 5.0.0, \u003c 5.0.7",
          "\u003e= 6.0, \u003c 6.9"
        ],
        "fixed_in": [
          "5.21.5",
          "5.0.7",
          "6.9"
        ]
      }
    ],
    "solutions": [
      "Upgrade to LXD version 6.9 or later, 5.21.5 or later, or 5.0.7 or later."
    ],
    "upgrade": [
      "Upgrade LXD to 5.21.5 or 5.0.7 or 6.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/canonical/lxd/security/advisories/GHSA-ppq7-4492-5552"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/canonical/lxd/pull/18301"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/canonical/lxd/pull/18303"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/canonical/lxd/pull/18304"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
