CVE-2026-34178
published critical CVSS 3.1 · 9.1Importing a crafted backup leads to project restriction bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | lxd4.12.0 to < 5.0.7 · 5.1.0 to < 5.21.5 · 6.0.0 to < 6.8.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Debian | trixie | incus | Advisory build | 6.0.4-2+deb13u6 | DSA-6212-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | lxd | 4.12.0 to < 5.0.7 (affected · semver)5.1.0 to < 5.21.5 (affected · semver)6.0.0 to < 6.8.0 (affected · semver)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-20 CWE-20 Improper input validation
References
2- Import: Create backup config from index https://github.com/canonical/lxd/pull/17921
- Importing a crafted backup leads to project restriction bypass https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4
Provider assertions
2canonical · cna
Importing a crafted backup leads to project restriction bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 22260aaf29bfee31971f2e5c1d32bb2ebad644ae36e15f862f51533747e77994
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record