CVE-2026-136973 in LXDinfo

Summary

by MITRE • 11/27/2026

Exposure of resource to wrong sphere in optimized ZFS backup imports in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access to mount an attacker-controlled filesystem over arbitrary host paths and execute code as root on the host via importing a filesystem ZFS stream declared as a block volume.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified in Canonical LXD versions prior to 5.0.12, 5.21.10, and 6.10.2 represents a critical failure in access control mechanisms within the container management platform's ZFS integration layer. This flaw stems from an improper isolation boundary between user-defined projects and host-level resources, specifically during the process of importing optimized ZFS backup streams as block volumes. In a properly secured environment, LXD enforces strict project-based isolation to ensure that unprivileged users or restricted containers cannot interact with sensitive host paths or escalate privileges beyond their assigned permissions. However, in these affected versions, the logic governing how imported filesystems are mounted fails to adequately validate the target mount points against the security policies of the requesting user's project. This architectural oversight allows an authenticated attacker who possesses only limited access rights within a specific LXD project to bypass expected restrictions and manipulate where their controlled file systems are attached on the underlying host operating system.

From a technical perspective, the exploitation vector relies on the ability to import a ZFS stream that is explicitly declared as a block volume. When such an import operation is initiated by a restricted user, the backend service incorrectly processes the mount configuration without sufficient verification of whether the target path resides within allowed directories or if it violates project-specific security constraints. By carefully crafting the input parameters for this import request, an attacker can specify arbitrary host paths that are typically protected from unprivileged access, such as system binaries, configuration files in /etc, or other critical infrastructure components. Once the malicious file system is mounted over these sensitive locations, the attacker gains a foothold to execute code with root privileges on the host machine. This effectively neutralizes the containerization security model, transforming an isolated user environment into a full compromise of the underlying server.

The operational impact of this vulnerability is severe, as it leads directly to privilege escalation and potential remote code execution at the highest level of system authority. An attacker who exploits this flaw can completely take control of the host operating system, bypassing all container isolation boundaries designed by LXD. This compromises not only the integrity and confidentiality of data within that specific instance but also jeopardizes other containers running on the same host, as well as any network services or applications hosted there. The ability to mount arbitrary filesystems means an attacker can persistently modify system binaries, install backdoors, exfiltrate sensitive information from shared storage volumes, or pivot further into internal networks depending on the host's role in the infrastructure. This scenario aligns with CWE-284, which describes Improper Access Control, and specifically relates to CWE-732, where incorrect permission assignments allow unauthorized entities to access resources they should not reach.

In terms of threat modeling and detection, this vulnerability maps closely to MITRE ATT&CK techniques involving privilege escalation and persistence through file system manipulation. Specifically, it resembles T1055, Process Injection or File System Permissions Modification, as the attacker modifies the host's state by mounting external volumes over critical paths. It also aligns with T1496, Resource Hijacking, in the context of using compromised resources to gain further access. Security teams should monitor for unusual ZFS import operations initiated by low-privilege users and look for unexpected mount points appearing on the host system that do not correspond to standard container storage layouts.

To mitigate this risk, organizations running affected versions of Canonical LXD must immediately apply the vendor-provided patches updating the software to version 5.0.12 or later, 5.21.10 or later, or 6.10.2 or later. These updates contain fixes that enforce stricter validation checks during the ZFS import process, ensuring that mount operations respect project-level security policies and prevent access to unauthorized host paths. Until patches are applied, administrators should restrict network exposure of LXD APIs to trusted sources only and audit user permissions rigorously to ensure no unnecessary elevated privileges are granted within projects. Additionally, implementing robust monitoring for file system changes on the host can help detect exploitation attempts in real-time, although patching remains the definitive remediation strategy given the depth of access gained by successful exploitation.

Responsible

Canonical

Reservation

11/25/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00493

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!