cve.bz

CVE-2026-34178 canonical lxd: Improper Input Validation

9.1 criticalExploit referenceEPSS 0.4%

Critical (9.1) in canonical lxd. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-04-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34178 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34178?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34178?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34178 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical lxdfrom 4.12.0 before 5.0.7
Canonical lxdfrom 5.1.0 before 5.21.5
Canonical lxdfrom 6.0.0 before 6.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q96j-3fmm-7fv4Gogithub.com/canonical/lxd>=0.0.0-20210305023314-538ac3df036e <=0.0.0-20260226085519-736f34afb267no fix published
GO-2026-5576Gogithub.com/canonical/lxd>=0.0.0-20210305023314-538ac3df036eno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12lxdno fix listedDEBIAN-CVE-2026-34178
Debian13incus6.0.4-2+deb13u6DEBIAN-CVE-2026-34178
Debian13lxd5.0.2+git20231211.1364ae4-9+deb13u5DEBIAN-CVE-2026-34178
Debian14incus6.0.6-3DEBIAN-CVE-2026-34178
Ubuntu25.10, 26.10, Pro:24.04:LTS and 1 moreincusno fix listedUBUNTU-CVE-2026-34178
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1SUSE-SU-2026:23625-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260827T195228-160000.1.1openSUSE-SU-2026:21761-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON