Live threats

All CVEs / Canonical

CVE-2026-34178Canonical Lxd

Critical 9.1

Priority
55
CVSS 3.1
9.1
EPSS
—
Auth required
Yes
Published
Apr 9, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/canonical/lxd ≥ 0.0.0-20210305023314-538ac3df036e ≤ 0.0.0-20260226085519-736f34afb267 no fixed version —
Go github.com/canonical/lxd ≥ 0.0.0-20210305023314-538ac3df036e no fixed version —

Per OSV / GitHub Advisories (GHSA-q96j-3fmm-7fv4, GO-2026-5576). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicallxd≥ 4.12 ≤ 5.0.6
canonicallxd≥ 5.21.0 ≤ 5.21.4
canonicallxd≥ 6.0 ≤ 6.7

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.