CVE-2026-34178Canonical Lxd
Critical 9.1
Follow: this CVE · Canonical · Canonical Lxd We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 9, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Lxd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/canonical/lxd |
≥ 0.0.0-20210305023314-538ac3df036e ≤ 0.0.0-20260226085519-736f34afb267 |
no fixed version | — |
| Go | github.com/canonical/lxd |
≥ 0.0.0-20210305023314-538ac3df036e |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-q96j-3fmm-7fv4, GO-2026-5576). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | lxd | ≥ 4.12 ≤ 5.0.6 |
| canonical | lxd | ≥ 5.21.0 ≤ 5.21.4 |
| canonical | lxd | ≥ 6.0 ≤ 6.7 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Exploit Third Party Advisory