{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-34178", "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "state": "PUBLISHED", "assignerShortName": "canonical", "dateReserved": "2026-03-26T09:24:08.449Z", "datePublished": "2026-04-09T09:18:58.404Z", "dateUpdated": "2026-04-09T11:55:20.431Z" }, "containers": { "cna": { "title": "Importing a crafted backup leads to project restriction bypass", "affected": [ { "vendor": "Canonical", "product": "lxd", "platforms": [ "Linux" ], "collectionURL": "https://github.com/canonical", "packageName": "lxd", "repo": "https://github.com/canonical/lxd", "programFiles": [ "permissions.go" ], "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" } ], "defaultStatus": "unaffected" } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-20", "description": "CWE-20 Improper input validation", "type": "CWE" } ] } ], "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." } ], "references": [ { "url": "https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4", "name": "Importing a crafted backup leads to project restriction bypass", "tags": [ "vdb-entry", "vendor-advisory" ] }, { "url": "https://github.com/canonical/lxd/pull/17921", "name": "Import: Create backup config from index", "tags": [ "patch", "issue-tracking" ] } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ], "cvssV3_1": { "version": "3.1", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseSeverity": "CRITICAL", "baseScore": 9.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H" } } ], "credits": [ { "lang": "en", "value": "Miha Purg", "type": "finder" } ], "source": { "discovery": "INTERNAL" }, "providerMetadata": { "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2026-04-09T09:18:58.404Z" } }, "adp": [ { "references": [ { "url": "https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-04-09T11:54:57.626476Z", "id": "CVE-2026-34178", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-04-09T11:55:20.431Z" } } ] } }