{
  "id": "CVE-2026-66898",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66898",
  "published_at": "2026-08-12T20:07:32.889Z",
  "title": "Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE",
  "vendor": "Canonical",
  "product": "LXD",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/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 path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:canonical:lxd:6.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Canonical",
        "product": "LXD",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.0.12",
          "\u003e= 5.0.0, \u003c 5.0.4",
          "\u003e= 5.21.0, \u003c 5.21.2",
          "\u003e= 6.0, \u003c 6.1"
        ],
        "fixed_in": [
          "4.0.12",
          "5.0.4",
          "5.21.2",
          "6.1"
        ]
      }
    ],
    "solutions": [
      "Upgrade to LXD version 4.0.12 or later, 5.0.4 or later, or 5.12.2 or later, or 6.0 or later."
    ],
    "upgrade": [
      "Upgrade LXD to 4.0.12 or 5.0.4 or 5.21.2 or 6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/canonical/lxd/security/advisories/GHSA-m857-c7gc-c984"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
