Canonical Patches LXD Flaw Allowing Unauthorized Instance Overwrites

Canonical has released security updates for its LXD container hypervisor to fix a medium-severity authorization flaw. The vulnerability, identified as CVE-2026-135363, allowed users with only instance creation permissions to overwrite existing instances and cause data loss. The issue stemmed from a missing authorization check in the instance creation API, which failed to verify edit permissions when a copy refresh was enabled. Patches are available in versions 5.21.11 and 6.10.3.
Key points
- Canonical LXD versions 5.21 through 5.21.10 and 6.10.2 and earlier are affected by CVE-2026-135363, a missing authorization vulnerability.
- The flaw allows an authenticated attacker with instance creation permissions to modify existing instances without edit permissions by using instance copy requests with refresh enabled.
- Exploitation can overwrite an instance's configuration and root filesystem, leading to data loss of the original workload and snapshots.
- The vulnerability is rated 6.1 Medium by Canonical under CVSS 4.0 and 6.8 Medium under CVSS v3.1, with high impact on integrity and availability but no confidentiality impact.
- The root cause is that the copy-refresh path bypasses the 'name already in use' conflict check and lacks a target-specific can_edit authorization check.
- Patches are available in LXD versions 5.21.11 and 6.10.3, addressing the issue disclosed on December 3, 2026.
Background
This vulnerability follows a trend of authorization flaws in software APIs, similar to recent issues in Mage AI, WooCommerce plugins, and Dell Secure Connect Gateway. LXD is Canonical's open-source container and virtual machine hypervisor, widely used for managing Linux containers and VMs. The flaw was identified by researcher MrMajumder and disclosed via GitHub advisory GHSA-86fg-v73j-r37j.
Why it matters
The vulnerability highlights the risks of insufficient authorization checks in API endpoints, particularly when operations like copy refresh bypass standard permission validations. For organizations using LXD, this flaw could lead to significant data loss and system disruption if exploited by users with limited permissions. The high impact on integrity and availability underscores the need for robust access controls in container management systems.
What to watch
Organizations using affected LXD versions should update to 5.21.11 or 6.10.3 to mitigate the risk. Security teams should review their LXD deployments for any unauthorized instance modifications and ensure that instance creation permissions are properly segregated from edit permissions. Monitoring for unusual instance copy or refresh activities may help detect potential exploitation attempts.
Want the full story? Read the original reporting
Read on CVEs | Zero Wire | Cloudflare Radar