{"cve":"CVE-2026-34178","nvd":{"published":"2026-04-09T10:16:21.820","modified":"2026-10-26T21:10:00.170","status":"Analyzed","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 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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","score":9.1},"cwes":["CWE-20"],"references":["https://github.com/canonical/lxd/pull/17921","https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4"],"products":["canonical:lxd"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-34178","score":0.00424,"percentile":0.36461,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-q96j-3fmm-7fv4","url":"https://osv.dev/vulnerability/GHSA-q96j-3fmm-7fv4","summary":"LXD: Importing a crafted backup leads to project restriction bypass","modified":"2026-08-11T23:55:51.417332903Z","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"],"fixed":[]}]},{"id":"GO-2026-5576","url":"https://osv.dev/vulnerability/GO-2026-5576","summary":"LXD: Importing a crafted backup leads to project restriction bypass in github.com/canonical/lxd","modified":"2026-08-11T23:45:11.013325155Z","packages":[{"ecosystem":"Go","name":"github.com/canonical/lxd","purl":"pkg:golang/github.com/canonical/lxd","ranges":[">=0.0.0-20210305023314-538ac3df036e"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}