Vulnerabilityin Canonical LXD.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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 lxd to 5.0.7, 5.21.5, 6.8.0 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Mar 2026CVE ID reserved by canonical.
- 9 Apr 2026Published in the CVE List.
- 9 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other LXD vulnerabilities
Same weakness: Improper input validation
- github.com vdb-entry, vendor-advisory
- github.com patch, issue-tracking
Patchminder. CVE-2026-34178: Vulnerability in Canonical LXD. https://patchminder.com/cve/cve-2026-34178/ (accessed 5 December 2026).