Home / Canonical / lxd / CVE-2026-34178
CVE-2026-34178: is it exploited, and which versions of Canonical lxd are affected and fixed?
CVE-2026-34178 is an improper input validation vulnerability in Canonical lxd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: github.com/canonical/lxd through 0.0.0-20260226085519-736f34afb267 (GitHub advisory GHSA-q96j-3fmm-7fv4). Fixed in 5.0.7, 5.21.5 and 6.8.0 (CVE record by canonical). Severity: Critical (9.1, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-34178?
Importing a crafted backup leads to project restriction bypass
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.
From the CVE record by canonical, last updated April 9, 2026, 11:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical | lxd Linux | from 4.12.0 before 5.0.7 from 5.1.0 before 5.21.5 from 6.0.0 before 6.8.0 | 5.0.7, 5.21.5, 6.8.0 |
As the CVE record by canonical states it, last updated April 9, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/canonical/lxd | >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267 | none listed | GHSA-q96j-3fmm-7fv4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 10, 2026. Summary: LXD: Importing a crafted backup leads to project restriction bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | lxd | from 4.12 through 5.0.6 | application |
| canonical | lxd | from 5.21.0 through 5.21.4 | application |
| canonical | lxd | from 6.0 through 6.7 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-34178?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | canonical |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-34178 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 9, 2026)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 40.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- Importing a crafted backup leads to project restriction bypass vdb-entry, vendor-advisory
- Import: Create backup config from index patch, issue-tracking
Who found and reported it?
- Miha Purg (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 26, 2026
- Published
- April 9, 2026, 09:18 UTC
- CVE record updated
- April 9, 2026, 11:55 UTC by canonical
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect lxd?
- Dec 1, 2026CVE-2026-127156 Canonical LXD: improper access control
- Dec 1, 2026CVE-2026-127155 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-127159 Canonical LXD: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-140086 Canonical LXD: link following (a symlink lets an attacker reach other files)
- Dec 1, 2026CVE-2026-140085 Canonical LXD: uncontrolled search path (DLL or library hijacking)
- Dec 1, 2026CVE-2026-140084 Canonical LXD: incorrect authorization
- Nov 26, 2026CVE-2026-122225 Canonical LXD: UNIX Symbolic Link (Symlink) Following
- Nov 26, 2026CVE-2026-136976 Canonical LXD: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-34178
Is CVE-2026-34178 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical lxd are affected by CVE-2026-34178?
github.com/canonical/lxd through 0.0.0-20260226085519-736f34afb267, per the GitHub advisory GHSA-q96j-3fmm-7fv4. The tables above give every range the sources list.
Which version fixes CVE-2026-34178?
5.0.7, 5.21.5 and 6.8.0, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-34178?
Critical (9.1, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2026-34178?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.