CVE-2026-135382: lxd: Host file read and write through backups, images, storage volumes and migration
Path traversal in backup, image, storage volume, and migration handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access to read and write arbitrary host files as root and exhaust daemon memory via crafted symlinks, unvalidated path components, or oversized metadata.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 4.0.16 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 5.0.12 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 5.21.10 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 6.10.2
Event History
Frequently Asked Questions
Which LXD releases contain fixes for this issue?
Fixed releases are 4.0.16, 5.0.12, 5.21.10, and 6.10.2. Versions earlier than those releases in their respective release lines are affected.
What level of access does an attacker need?
An attacker must be authenticated to LXD and have restricted project access. The issue does not require unrestricted administrative project access according to the available information.