CVE-2026-136978 in LXDinfo

Summary

by MITRE • 11/27/2026

Exposure of resource to wrong sphere in the instance file transfer API 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 block or character devices, compromise the host, and hang file transfer requests via importing device nodes or named pipes outside /dev in an image or backup and opening them on a stopped instance.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified as CWE-284 Improper Access Control manifests within the Canonical LXD container management platform through its instance file transfer API, specifically affecting versions prior to 4.0.16, 5.0.12, 5.21.10, and 6.10.2. This flaw stems from an insufficient validation mechanism when handling device nodes or named pipes that are imported into container images or backups. The core technical failure lies in the system's inability to properly restrict these special file types to their intended scope within the host operating environment. Instead of confining access strictly to safe, ephemeral directories such as /dev/shm or specific temporary locations defined by security policies, the API permits the creation and opening of device nodes outside of standard restricted paths on a stopped instance. This architectural oversight allows an authenticated user with limited project-level permissions to bypass expected isolation boundaries inherent in containerized environments.

From an operational perspective, this misconfiguration enables severe privilege escalation scenarios where a low-privileged container user can interact directly with host hardware resources. By importing malicious device nodes or named pipes into an image and subsequently opening them on a stopped instance before it is restarted, the attacker gains direct read-write access to arbitrary block devices such as hard drives or character devices like /dev/kmem. This capability effectively breaks out of the container sandbox, granting the adversary control over underlying host infrastructure components that are typically inaccessible from within unprivileged containers. The impact extends beyond mere data exfiltration; it allows for complete compromise of the host system by modifying critical kernel structures, installing persistent backdoors at the hardware abstraction layer, or manipulating storage volumes directly.

Furthermore, this vulnerability introduces a significant availability risk through resource exhaustion attacks. An attacker can exploit the file transfer mechanism to hang ongoing operations by creating infinite loops with named pipes or flooding the system with malformed device requests that consume excessive CPU and memory resources without terminating properly. This denial of service condition disrupts not only the targeted instance but potentially affects other workloads running on the same host node due to shared resource contention. The attack vector aligns closely with ATT&CK techniques involving Container Escape, specifically leveraging improper access controls to move laterally from a compromised container to the underlying hypervisor or bare-metal server.

Mitigation strategies must prioritize immediate version upgrades to patched releases of Canonical LXD that address these validation gaps in the file transfer API. Administrators should also enforce strict security profiles and disable device injection capabilities for untrusted users where possible, ensuring that only authorized personnel can manipulate host devices within container contexts. Additionally implementing network segmentation between management interfaces and compute nodes limits the blast radius if a breach occurs. Regular auditing of image contents before deployment is essential to detect any pre-packaged malicious device nodes or pipes that could be exploited upon instance startup. Organizations should also consider deploying runtime security monitoring tools capable of detecting anomalous file system operations involving special character devices outside expected directories, providing an additional layer of defense against exploitation attempts targeting this specific class of container escape vulnerabilities.

Responsible

Canonical

Reservation

11/25/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00397

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!