patchminder
Proof of concept · CISA assessment CVE-2026-34178

Vulnerabilityin Canonical LXD.

Published 9 Apr 2026 · Updated 9 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 5.0.7, 5.21.5, 6.8.0
In plain words

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 now
  • Upgrade lxd to 5.0.7, 5.21.5, 6.8.0 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
lxd
4.12.0 to before 5.0.7
5.0.7
CVE record
lxd
5.1.0 to before 5.21.5
5.21.5
CVE record
lxd
6.0.0 to before 6.8.0
6.8.0
CVE record
github.com/canonical/lxd (Go)
0.0.0-20210305023314-538ac3df036e to 0.0.0-20260226085519-736f34afb267
Not confirmed
GitHub advisory
github.com/canonical/lxd (Go)
0.0.0-20210305023314-538ac3df036e and later
Not confirmed
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 26 Mar 2026
    CVE ID reserved by canonical.
  2. 9 Apr 2026
    Published in the CVE List.
  3. 9 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

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.

Related

Other LXD vulnerabilities

Same weakness: Improper input validation

All CWE-20 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-34178: Vulnerability in Canonical LXD. https://patchminder.com/cve/cve-2026-34178/ (accessed 5 December 2026).