CVE-2026-34178
CVE-2026-34178 is a critical-severity vulnerability in Canonical Lxd with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- EPSS exploit prediction: 1% (51st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-20874
- Weakness: CWE-20
- Affected product: Canonical Lxd
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-34178?
- 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.
- How severe is CVE-2026-34178?
- CVE-2026-34178 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-34178 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34178?
- CVE-2026-34178 affects Canonical Lxd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34178?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2026-34178 have an EU (EUVD) identifier?
- Yes. CVE-2026-34178 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-20874.
- When was CVE-2026-34178 published?
- CVE-2026-34178 was published on 2026-04-09 and last updated on 2026-06-17.
References
- https://github.com/canonical/lxd/pull/17921
- https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4
Affected products (1)
- cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*
More vulnerabilities in Canonical Lxd
- CVE-2026-66897 — Critical (CVSS 9.9): A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit…
- CVE-2026-66898 — Critical (CVSS 9.9): A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and…
- CVE-2026-63300 — Critical (CVSS 9.9): An improper validation vulnerability in the instancePostMigration function in lxd/instance_post.go of LXD allows an…
- CVE-2026-63299 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD allows an authenticated user to bypass project-level disk and volume…
- CVE-2026-63298 — Critical (CVSS 9.9): An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling allows an…
- CVE-2026-63297 — Critical (CVSS 9.9): An authorization bypass vulnerability in LXD due to a timing flaw during configuration merging allows an authenticated…
All CVEs affecting Canonical Lxd →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-93952 — Critical (CVSS 10.0): VeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access…
- CVE-2026-77554 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi…
- CVE-2026-77537 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi…
- CVE-2026-48056 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download video content. Versions prior to 2.5.0…
- CVE-2026-33267 — Critical (CVSS 10.0): Improper Input Validation vulnerability in Apache Traffic Server. This issue affects Apache Traffic Server: from 9.2.0…
- CVE-2026-47668 — Critical (CVSS 10.0): DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →