CVE Explorer
CVE-2026-34178
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 directi
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"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"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-20","description":"CWE-20 Improper input validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Import: Create backup config from index","tags":["patch","issue-tracking"],"url":"https://github.com/canonical/lxd/pull/17921"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/adp/0/references/0
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c8831aa56208f467029e7e16a595a48b7fd9994a8eaf0f5c33f57f13fcf59246 · sha256:489a2c989aa0267a… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.