{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34178","id":"CVE-2026-34178","title":"Importing a crafted backup leads to project restriction bypass","description":"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 archi","descriptionLong":"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.","published":"2026-04-09T09:18:58.404Z","updated":"2026-10-28T02:30:35.308057164Z","reserved":"2026-03-26T09:24:08.449Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"canonical"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"canonical"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"ubuntu.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Canonical lxd"],"affectedProducts":[{"vendor":"Canonical","product":"lxd","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.12.0","lessThan":"5.0.7","versionType":"semver"},{"status":"affected","version":"5.1.0","lessThan":"5.21.5","versionType":"semver"},{"status":"affected","version":"6.0.0","lessThan":"6.8.0","versionType":"semver"}],"platforms":["Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/canonical/lxd","purl":"pkg:golang/github.com/canonical/lxd","ranges":[">=0.0.0-20210305023314-538ac3df036e <=0.0.0-20260226085519-736f34afb267",">=0.0.0-20210305023314-538ac3df036e"],"fixed":[],"advisory":"GHSA-q96j-3fmm-7fv4"}],"cwes":["CWE-20"],"aliases":["GHSA-q96j-3fmm-7fv4","GO-2026-5576"],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","tags":["vdb-entry","vendor-advisory","exploit","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/canonical/lxd/pull/17921","tags":["patch","issue-tracking","Issue Tracking","fix","web"]},{"url":"https://github.com/canonical","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34178.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34178","tags":["advisory"]},{"url":"https://github.com/canonical/lxd","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00432,"epssPercentile":0.38231,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34178","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34178","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34178","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q96j-3fmm-7fv4","ok":true,"note":"GHSA-q96j-3fmm-7fv4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34178","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}