CVE-2026-34178 Importing a crafted backup leads to project restriction bypass
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 1 partially fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/lxd(Debian 12) | = 5.0.2+git20231211.1364ae4-1; = 5.0.2+git20231211.1364ae4-2; = 5.0.2+git20231211.1364ae4-3; = 5.0.2+git20231211.1364ae4-4 +14 more | No fix listed | No fix yet |
| ubuntu/incus(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/incus(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/incus(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| Canonical LXD(Go) | >= 0.0.0-20210305023314-538ac3df036e; >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267 | after 0.0.0-20260226085519-736f34afb267 | Partially fixed |
| Canonical LXD | >= 4.12, <= 5.0.6; >= 4.12.0, < 5.0.7; >= 5.1.0, < 5.21.5; >= 5.21.0, <= 5.21.4 +2 more | 5.0.7, 5.21.5, 6.8.0 | Fixed |
| debian/incus(Debian 13) | < 6.0.4-2+deb13u6; = 6.0.4-2; = 6.0.4-2+deb13u1; = 6.0.4-2+deb13u1~bpo12+1 +9 more | 6.0.4-2+deb13u6 | Fixed |
| debian/incus(Debian 14) | < 6.0.6-3; = 6.0.4-2; = 6.0.4-3; = 6.0.5-1 +9 more | 6.0.6-3 | Fixed |
| debian/lxd(Debian 13) | < 5.0.2+git20231211.1364ae4-9+deb13u5; = 5.0.2+git20231211.1364ae4-9; = 5.0.2+git20231211.1364ae4-9+deb13u1; = 5.0.2+git20231211.1364ae4-9+deb13u2 +2 more | 5.0.2+git20231211.1364ae4-9+deb13u5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Canonical LXD | >= 4.12.0, < 5.0.7 | 5.0.7 |
| Canonical LXD | >= 5.1.0, < 5.21.5 | 5.21.5 |
| Canonical LXD | >= 6.0.0, < 6.8.0 | 6.8.0 |
| Canonical LXD(Go) | >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267 | No fix listed |
| Canonical LXD(Go) | >= 0.0.0-20210305023314-538ac3df036e | No fix listed |
| debian/incus(Debian:13) | < 6.0.4-2+deb13u6 | 6.0.4-2+deb13u6 |
| debian/incus(Debian:13) | = 6.0.4-2 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u1~bpo12+1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u2 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u2~bpo12+1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u3 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u3~bpo12+1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u4 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u4~bpo12+1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u5 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u5~bpo12+1 | No fix listed |
| debian/incus(Debian:13) | = 6.0.4-2+deb13u6~bpo12+1 | No fix listed |
| debian/incus(Debian:14) | < 6.0.6-3 | 6.0.6-3 |
| debian/incus(Debian:14) | = 6.0.4-2 | No fix listed |
| debian/incus(Debian:14) | = 6.0.4-3 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-1 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-2 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-3 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-4 | No fix listed |
Show 36 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/incus(Debian:14) | = 6.0.5-5 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-6 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-7 | No fix listed |
| debian/incus(Debian:14) | = 6.0.5-8 | No fix listed |
| debian/incus(Debian:14) | = 6.0.6-1 | No fix listed |
| debian/incus(Debian:14) | = 6.0.6-2 | No fix listed |
| debian/lxd(Debian:12) | All versions | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-1 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-2 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-3 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-4 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-5 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-6 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-7 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-8 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2+git20231211.1364ae4-9 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u1 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u2 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u3 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u4 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u5 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-5+deb12u6 | No fix listed |
| debian/lxd(Debian:12) | = 5.0.2-6 | No fix listed |
| debian/lxd(Debian:13) | < 5.0.2+git20231211.1364ae4-9+deb13u5 | 5.0.2+git20231211.1364ae4-9+deb13u5 |
| debian/lxd(Debian:13) | = 5.0.2+git20231211.1364ae4-9 | No fix listed |
| debian/lxd(Debian:13) | = 5.0.2+git20231211.1364ae4-9+deb13u1 | No fix listed |
| debian/lxd(Debian:13) | = 5.0.2+git20231211.1364ae4-9+deb13u2 | No fix listed |
| debian/lxd(Debian:13) | = 5.0.2+git20231211.1364ae4-9+deb13u3 | No fix listed |
| debian/lxd(Debian:13) | = 5.0.2+git20231211.1364ae4-9+deb13u4 | No fix listed |
| ubuntu/incus(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/incus(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/incus(Ubuntu:26.10) | All versions | No fix listed |
| Canonical LXD | >= 4.12, <= 5.0.6 | No fix listed |
| Canonical LXD | >= 5.21.0, <= 5.21.4 | No fix listed |
| Canonical LXD | >= 6.0, <= 6.7 | No fix listed |
References
- Importing a crafted backup leads to project restriction bypass exploit third-party-advisory vdb-entry vendor-advisory
- Import: Create backup config from index issue-tracking patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2026-34178 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org