๐Ÿ” CVE Alert

CVE-2026-34178

CRITICAL 9.1

Importing a crafted backup leads to project restriction bypass

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

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 CWE-20
Vendor canonical
Product lxd
Ecosystems
Industries
Technology
Published Apr 9, 2026
Last Updated Apr 9, 2026
Stay Ahead of the Next One

Get instant alerts for canonical lxd

Be the first to know when new critical vulnerabilities affecting canonical lxd are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

Canonical / lxd
4.12.0 < 5.0.7 5.1.0 < 5.21.5 6.0.0 < 6.8.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/canonical/lxd/security/advisories/GHSA-q96j-3fmm-7fv4 github.com: https://github.com/canonical/lxd/pull/17921

Credits

Miha Purg