{"schemaVersion":3,"id":"CVE-2026-34178","aliases":["UBUNTU-CVE-2026-34178","DEBIAN-CVE-2026-34178","GHSA-q96j-3fmm-7fv4","GO-2026-5576"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-09T09:18:58.404Z","modified":"2026-04-09T11:55:20.431Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":5.9,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00675,"percentile":0.51323,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.251,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00424},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00675,"percentile":0.51323}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00675,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00675,"percentile":0.51323}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CANONICAL_LXD","name":"Lxd","source":"github","url":"https://github.com/canonical/lxd/security/advisories/GHSA-4c49-9fpc-hc3v","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"canonical","product":"lxd","name":"lxd","label":"lxd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.12.0, < 5.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.1.0, < 5.21.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.8.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.12, ≤ 5.0.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.21.0, ≤ 5.21.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0, ≤ 6.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.12.0, < 5.0.7 | ≥ 5.1.0, < 5.21.5 | ≥ 6.0.0, < 6.8.0 | ≥ 4.12, ≤ 5.0.6 | ≥ 5.21.0, ≤ 5.21.4 | ≥ 6.0, ≤ 6.7","eol":null,"hubHref":"/vendor/canonical/lxd"},{"vendor":"debian","product":"incus","name":"incus","label":"incus","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/incus","purlType":"deb","versions":[{"text":"< 6.0.4-2+deb13u6","noFixRecorded":false,"fixedIn":null},{"text":"< 6.0.6-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.4-2+deb13u6 | < 6.0.6-3","eol":null,"hubHref":null},{"vendor":"debian","product":"lxd","name":"lxd","label":"lxd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lxd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.0.2+git20231211.1364ae4-9+deb13u5","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.0.2+git20231211.1364ae4-9+deb13u5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"incus","name":"incus","label":"incus","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/incus","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/canonical","product":"lxd","name":"github.com/canonical/lxd","label":"lxd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/canonical/lxd","purlType":"golang","versions":[{"text":"≥ 0.0.0-20210305023314-538ac3df036e, ≤ 0.0.0-20260226085519-736f34afb267","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-20210305023314-538ac3df036e","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 0.0.0-20210305023314-538ac3df036e, ≤ 0.0.0-20260226085519-736f34afb267 | ≥ 0.0.0-20210305023314-538ac3df036e (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","label":"github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","hostname":"github.com","tags":["VDB Entry","Vendor Advisory","REPORT","WEB","Advisory","Exploit","Third Party Advisory"]},{"url":"https://github.com/canonical/lxd/pull/17921","label":"github.com/canonical/lxd/pull/17921","hostname":"github.com","tags":["Patch","Issue Tracking","REPORT","WEB","FIX"]},{"url":"https://ubuntu.com/security/CVE-2026-34178","label":"ubuntu.com/security/CVE-2026-34178","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34178","label":"www.cve.org/CVERecord?id=CVE-2026-34178","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-34178","label":"security-tracker.debian.org/tracker/CVE-2026-34178","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34178","label":"nvd.nist.gov/vuln/detail/CVE-2026-34178","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/canonical/lxd","label":"github.com/canonical/lxd","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"]},"timeline":[{"kind":"published","date":"2026-04-09T09:18:58.404Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-09T11:55:20.431Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:44:47.496Z","stale":false,"partial":false}}