CVE-2026-34178
CRITICAL 9.1CVSS 3.1LXD: Importing a crafted backup leads to project restriction bypass
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.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-q96j-3fmm-7fv4GO-2026-5576
- Sources
- NVDJSONOSV GHSA-q96j-3fmm-7fv4JSONOSV GO-2026-5576JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 4.12, <= 5.0.6 | |
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 5.21.0, <= 5.21.4 | |
| NVD | canonical | lxdcpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* |
>= 6.0, <= 6.7 | |
| OSV | Go | github.com/canonical/lxd | >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267 | |
| OSV | Go | github.com/canonical/lxd | >= 0.0.0-20210305023314-538ac3df036e |
References
- https://github.com/canonical/lxd/pull/17921 · Issue Tracking, WEB, FIX
- https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4 · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34178 · ADVISORY
- https://github.com/canonical/lxd · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Apr 2026)