{"id":"CVE-2026-34178","published":"2026-04-09T09:18:58Z","modified":"2026-04-09T11:55:20Z","title":"Importing a crafted backup leads to project restriction bypass","vendor":"Canonical","product":"lxd","tier":"tail","description":{"text":"In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked against project restrictions. An authenticated remote attacker with instance-creation permission in a restricted project can craft a backup archive where backup.yaml carries restricted settings such as security.privileged=true or raw.lxc directives, bypassing all project restriction enforcement and allowing full host compromise.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.38363,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","tags":["vdb-entry","vendor-advisory"]},{"url":"https://github.com/canonical/lxd/pull/17921","tags":["patch","issue-tracking"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.67},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"lxd","versions":[">= 4.12.0, < 5.0.7",">= 5.1.0, < 5.21.5",">= 6.0.0, < 6.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-09T11:54:57.626476Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/canonical/lxd","vulnerableRanges":[">=0.0.0-20210305023314-538ac3df036e, <=0.0.0-20260226085519-736f34afb267",">=0.0.0-20210305023314-538ac3df036e"],"patched":[],"from":["GHSA-q96j-3fmm-7fv4","GO-2026-5576"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-20874","exploited":false,"provenance":"source"}}