CVE-2026-127158 in LXD
Summary
by MITRE • 11/27/2026
Exposure of sensitive information and missing requestor validation in instance, volume, and snapshot migration operations in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with project event or operation read access to read migrating configuration and filesystem data and disrupt the migration via capturing per-connection websocket secrets from operation metadata and racing the migration's data channels.
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 in Canonical LXD prior to versions 5.0.12, 5.21.10, and 6.10.2 represents a critical failure in access control mechanisms governing live instance, volume, and snapshot migration operations. This flaw allows authenticated users who possess project event or operation read permissions to exploit the internal mechanics of data transfer processes. Specifically, the system fails to properly validate requestors during these sensitive administrative tasks, leading to two distinct but related security failures: the exposure of sensitive information and the potential for denial-of-service attacks through operational disruption. The core issue lies in how LXD handles websocket connections and operation metadata during migration events, where secrets intended for internal service-to-service communication are inadvertently exposed to lower-privileged users who can observe these operations.
From a technical perspective, the vulnerability stems from insufficient validation of the requestor identity when initiating or monitoring live migrations. In normal operation, migrating an instance involves establishing secure websocket channels between source and destination hosts to transfer filesystem data and configuration states securely. However, due to missing requestor validation in the affected versions, any authenticated user with read access to project events or operations can intercept per-connection websocket secrets embedded within the operation metadata. These secrets are typically used for authentication and encryption during the actual data transfer phase. By capturing these credentials from publicly visible operational logs or event streams, an attacker gains the ability to impersonate legitimate migration processes. This constitutes a severe breach of confidentiality as it exposes internal cryptographic material that should remain isolated from standard user-level access controls.
The impact of this vulnerability extends beyond mere information disclosure into active exploitation scenarios involving denial-of-service and unauthorized data exfiltration. An adversary can leverage the captured websocket secrets to race against legitimate migration processes, effectively hijacking or disrupting ongoing migrations. This racing condition allows the attacker to inject malicious traffic or terminate connections prematurely, causing instability in virtualized workloads that rely on seamless live migration for high availability. Furthermore, once the websocket secret is obtained, the attacker may attempt to connect directly to the data channels intended for migrating filesystems and configuration files. If successful, this would allow the unauthorized reading of sensitive guest operating system configurations, application secrets stored within instances, or raw disk contents that were not previously accessible to the user's assigned project scope.
This vulnerability aligns with CWE-200, which defines Exposure of Sensitive Information to an Unauthorized Actor, as well as CWE-354 regarding Improper Validation of Integrity Check Value if integrity checks are bypassed via race conditions. In terms of offensive security frameworks, this behavior maps directly to MITRE ATT&CK technique T1078 Valid Accounts, where the attacker uses legitimate credentials but exploits misconfigured permissions to access resources outside their intended scope. Additionally, the ability to disrupt services through resource exhaustion or connection hijacking relates to T1499 Endpoint Denial of Service and potentially T1530 Data from Cloud Storage Object if cloud-backed storage is involved in the migration targets. The lack of strict separation between operational metadata visibility and sensitive credential handling highlights a fundamental design flaw in how LXD manages privilege escalation vectors within multi-tenant environments.
Mitigation strategies must prioritize immediate upgrading to patched versions 5.0.12, 5.21.10, or 6.10.2 where these validation checks have been corrected. For organizations unable to patch immediately due to operational constraints, implementing strict network segmentation between LXD hosts can limit the blast radius if an attacker attempts to utilize captured secrets for lateral movement. Additionally, auditing and restricting project-level permissions is crucial; administrators should ensure that users do not possess broad operation read access unless absolutely necessary for their role. Enabling enhanced logging and monitoring on migration endpoints can help detect anomalous websocket connection patterns indicative of race condition attacks or unauthorized secret usage. Regular review of IAM policies to adhere to the principle of least privilege will significantly reduce the attack surface associated with internal API operations that handle sensitive state data.