{"api_version":"1","generated_at":"2026-04-22T21:38:34+00:00","cve":"CVE-2026-34178","urls":{"html":"https://cve.report/CVE-2026-34178","api":"https://cve.report/api/cve/CVE-2026-34178.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-34178","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-34178"},"summary":{"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 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.","state":"PUBLISHED","assigner":"canonical","published_at":"2026-04-09 10:16:21","updated_at":"2026-04-22 20:55:16"},"problem_types":["CWE-20","CWE-20 CWE-20 Improper input validation"],"metrics":[{"version":"3.1","source":"security@ubuntu.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/canonical/lxd/pull/17921","name":"https://github.com/canonical/lxd/pull/17921","refsource":"security@ubuntu.com","tags":["Issue Tracking"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","name":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Third Party Advisory","Exploit"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-34178","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34178","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Canonical","product":"lxd","version":"affected 4.12.0 5.0.7 semver","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"lxd","version":"affected 5.1.0 5.21.5 semver","platforms":["Linux"]},{"source":"CNA","vendor":"Canonical","product":"lxd","version":"affected 6.0.0 6.8.0 semver","platforms":["Linux"]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Miha Purg","lang":"en"}],"nvd_cpes":[{"cve_year":"2026","cve_id":"34178","vulnerable":"1","versionEndIncluding":"5.0.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"lxd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2026","cve_id":"34178","vulnerable":"1","versionEndIncluding":"5.21.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"lxd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2026","cve_id":"34178","vulnerable":"1","versionEndIncluding":"6.7","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"canonical","cpe5":"lxd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"34178","cve":"CVE-2026-34178","epss":"0.000520000","percentile":"0.160980000","score_date":"2026-04-15","updated_at":"2026-04-16 00:13:57"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-34178","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-04-09T11:54:57.626476Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-04-09T11:55:20.431Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://github.com/canonical","defaultStatus":"unaffected","packageName":"lxd","platforms":["Linux"],"product":"lxd","programFiles":["permissions.go"],"repo":"https://github.com/canonical/lxd","vendor":"Canonical","versions":[{"lessThan":"5.0.7","status":"affected","version":"4.12.0","versionType":"semver"},{"lessThan":"5.21.5","status":"affected","version":"5.1.0","versionType":"semver"},{"lessThan":"6.8.0","status":"affected","version":"6.0.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Miha Purg"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper input validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-09T09:18:58.404Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","shortName":"canonical"},"references":[{"name":"Importing a crafted backup leads to project restriction bypass","tags":["vdb-entry","vendor-advisory"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4"},{"name":"Import: Create backup config from index","tags":["patch","issue-tracking"],"url":"https://github.com/canonical/lxd/pull/17921"}],"source":{"discovery":"INTERNAL"},"title":"Importing a crafted backup leads to project restriction bypass"}},"cveMetadata":{"assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","assignerShortName":"canonical","cveId":"CVE-2026-34178","datePublished":"2026-04-09T09:18:58.404Z","dateReserved":"2026-03-26T09:24:08.449Z","dateUpdated":"2026-04-09T11:55:20.431Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-09 10:16:21","lastModifiedDate":"2026-04-22 20:55:16","problem_types":["CWE-20","CWE-20 CWE-20 Improper input validation"],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.3,"impactScore":6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndIncluding":"5.0.6","matchCriteriaId":"41A5CC7C-00BE-436D-957A-4636E52D0DF1"},{"vulnerable":true,"criteria":"cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*","versionStartIncluding":"5.21.0","versionEndIncluding":"5.21.4","matchCriteriaId":"92A82DF4-3ED9-47E0-BDF1-DB9138EE0883"},{"vulnerable":true,"criteria":"cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndIncluding":"6.7","matchCriteriaId":"5C28FC63-0BE4-4B40-A87F-DF242AE33303"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"34178","Ordinal":"1","Title":"Importing a crafted backup leads to project restriction bypass","CVE":"CVE-2026-34178","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"34178","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Importing a crafted backup leads to project restriction bypass"}]}}}