CVE-2026-34178: Vulnerability in Canonical Lxd
Critical. 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...
Go, CWE-20
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-q96j-3fmm-7fv4
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-20
- Published
- 9 Apr 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Go
Affected products
Affected versions and the first fixed release
- Canonical Lxd From 4.12 through 5.0.6; From 5.21.0 through 5.21.4; From 6.0 through 6.7. No fixed version recorded
Affected packages
Vulnerable version ranges and fixed releases
- github.com/canonical/lxd Go, Affected from 0.0.0-20210305023314-538ac3df036e through 0.0.0-20260226085519-736f34afb267. No fixed version recorded
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Related
- Lxd vulnerabilities Recent advisories, watch this product