CVE-2026-136975 in LXD
Summary
by MITRE • 11/27/2026
Authentication bypass by spoofing in bridged NIC MAC filtering in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows a privileged user inside an instance sharing a managed bridge to intercept and deny inbound network traffic addressed to a neighbour instance via sending frames with a spoofed source MAC address before filtering drops them.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Analysis
by VulDB Data Team • 11/27/2026
The vulnerability identified in Canonical LXD versions prior to 4.0.16, 5.0.12, 5.21.10, and 6.10.2 represents a critical authentication bypass mechanism rooted in the improper handling of Media Access Control (MAC) address filtering within bridged network interfaces. This flaw specifically affects scenarios where multiple container instances share a managed bridge configuration. In such environments, LXD relies on MAC-based access control lists to isolate traffic between distinct containers and prevent unauthorized communication or interception. However, the underlying implementation fails to adequately validate the source of incoming frames against the expected identity of the sending instance before applying filtering rules. This architectural oversight allows an attacker with privileged access inside one container instance to manipulate network packets at a layer that is not sufficiently scrutinized by the host-level security controls.
From a technical perspective, the core flaw lies in the sequence of packet processing within the virtual switch or bridge driver used by LXD. When a frame arrives on the managed bridge, the system checks its source MAC address against an allowlist associated with specific container IDs to determine if traffic should be permitted or dropped. The vulnerability arises because the spoofing mechanism allows a malicious actor to craft Ethernet frames that claim to originate from a neighbor instance's legitimate MAC address. Since the filtering logic primarily inspects this header field without cross-referencing it against deeper packet inspection data, such as VLAN tags or internal bridge port identifiers, the system erroneously accepts these forged packets as authentic traffic belonging to another user’s container. This effectively neutralizes the isolation guarantees provided by the network configuration, turning a security boundary into an open channel for malicious activity.
The operational impact of this vulnerability is severe, primarily enabling two distinct types of attacks: man-in-the-middle interception and denial-of-service through MAC spoofing. By successfully injecting frames with a spoofed source MAC address that matches a target neighbor instance, the attacker can intercept inbound network traffic destined for that specific container. This allows for passive eavesdropping on sensitive data transmitted between services within the same bridge segment. Furthermore, because the filtering mechanism drops packets it deems unauthorized based on incorrect MAC associations, an attacker can deliberately flood the bridge with spoofed frames to create congestion or trigger drop conditions. This results in a denial-of-service scenario where legitimate traffic from other instances is blocked or delayed due to the confusion introduced by conflicting source addresses and subsequent filter decisions.
This vulnerability aligns closely with Common Weakness Enumeration (CWE) category CWE-287, which describes Improper Authentication, specifically involving identity spoofing. It also maps directly to MITRE ATT&CK technique T1098.004, SSH Host Key Spoofing is not applicable here but the broader concept of Identity Impersonation under T1136 applies as the attacker impersonates a legitimate network entity. Additionally, aspects of CWE-755: Improper Handling of Unexpected Incorrect Input are relevant because the system fails to reject malformed or misattributed packet headers that violate expected trust boundaries within the virtualized environment. The lack of strict source validation at the bridge level undermines the fundamental principle of least privilege and isolation in container orchestration platforms.
To mitigate this risk, organizations running affected versions of Canonical LXD must immediately upgrade to version 4.0.16 or later for the 4.x series, 5.0.12 for the 5.x series, 5.21.10 for the 5.21 branch, and 6.10.2 for the 6.x series. These releases contain patches that enforce stricter validation of source MAC addresses against internal bridge port mappings rather than relying solely on header inspection. In addition to upgrading, administrators should review their network configurations to ensure that managed bridges are not used in high-security contexts without additional isolation layers such as VLAN tagging or firewall rules applied at the host level. Implementing strict ingress and egress filtering policies using tools like iptables or nftables can provide a secondary defense-in-depth layer, ensuring that even if MAC spoofing occurs, subsequent network-level checks will block unauthorized traffic flows between containers.