CVEfocus › CVE database › CVE-2026-34178

CVE-2026-34178Importing a crafted backup leads to project restriction bypass

CVSS 9.1 CriticalEPSS 0.7% (higher than 49% of CVEs)Published 2026-04-09Updated 2026-04-09Assigner: canonical

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.

CWE-20

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10incusFix pendingUBUNTU-CVE-2026-34178
Ubuntu 26.04incusFix pendingUBUNTU-CVE-2026-34178
Ubuntu 25.10incusWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-34178
Ubuntu 24.04incusFix pendingUBUNTU-CVE-2026-34178
Debian 14incusFixed6.0.6-3DEBIAN-CVE-2026-34178
Debian 13incusFixed6.0.4-2+deb13u6DEBIAN-CVE-2026-34178
Debian 13lxdFixed5.0.2+git20231211.1364ae4-9+deb13u5DEBIAN-CVE-2026-34178
Debian 12lxdFix pendingDEBIAN-CVE-2026-34178
Go librarygithub.com/canonical/lxdFix pendingGO-2026-5576

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.