CVE-2026-135379 in LXDinfo

Summary

by MITRE • 11/27/2026

Improper control of code generation and project restriction enforcement in container configuration handling 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 execute arbitrary commands as root on the host, crash the daemon, and alter shared bridge DHCP assignments via image-supplied LXC configuration, concurrent rename races during updates, and unvalidated syscall or hardware address settings.

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 4.0.16, 5.0.12, 5.21.10, and 6.10.2 represents a critical failure in the enforcement of project-level access controls within the container management system. This flaw allows an authenticated user who is restricted by LXD projects to bypass intended security boundaries and execute arbitrary commands with root privileges on the host machine. The core issue stems from improper control over code generation and insufficient validation of configuration parameters during the handling of container settings, specifically when interacting with image-supplied configurations or performing concurrent operations such as renames during updates. This breakdown in access enforcement undermines the fundamental isolation model that LXD is designed to provide between different users and projects sharing a single host infrastructure.

From a technical perspective, the vulnerability manifests through several distinct attack vectors enabled by the flawed configuration handling logic. First, an attacker can exploit image-supplied LXC configurations to inject malicious settings that are processed without adequate sanitization or validation against project restrictions. This allows for arbitrary command execution on the host system because the daemon processes these configurations with elevated privileges while failing to verify if the requesting user has permission to apply such changes within their assigned project scope. Additionally, concurrent rename races during updates create a time-of-check-to-time-of-use (TOCTOU) condition where state inconsistencies allow unauthorized modifications to take effect before proper authorization checks can be applied or enforced correctly by the daemon.

Furthermore, the vulnerability extends to network configuration management, specifically regarding shared bridge DHCP assignments and unvalidated syscall or hardware address settings. An attacker with restricted project access can manipulate these network parameters to alter DHCP behavior on the host’s virtual networks, potentially leading to denial of service conditions or unauthorized network interception capabilities. The lack of validation for system calls and hardware addresses means that maliciously crafted inputs can trigger unintended kernel interactions or daemon crashes, destabilizing the entire LXD environment. These issues collectively demonstrate a systemic failure in input validation and state management within the container runtime engine when processing user-supplied data under restricted access contexts.

The operational impact of this vulnerability is severe, as it effectively nullifies the multi-tenancy security model provided by LXD projects. An attacker who gains authenticated access to any account with even minimal project privileges can escalate their rights to full root control over the underlying host operating system. This level of compromise allows for complete data exfiltration, installation of persistent backdoors, and lateral movement across other containers or services hosted on the same machine. The ability to crash the daemon also introduces availability risks, disrupting all container operations managed by that instance. In environments where LXD is used for hosting untrusted workloads or providing isolated development environments, this vulnerability poses a significant risk to overall system integrity and confidentiality.

To mitigate these risks, organizations must immediately upgrade Canonical LXD to version 4.0.16, 5.0.12, 5.21.10, or 6.10.2 or later, where the proper enforcement of project restrictions and input validation mechanisms have been implemented. Until patching is complete, administrators should restrict network access to the LXD daemon API endpoint using firewalls or reverse proxies with strict authentication controls to limit exposure to authenticated users only. It is also advisable to audit existing user permissions and ensure that no unnecessary privileges are granted within projects, adhering to the principle of least privilege. Monitoring logs for unusual configuration changes or concurrent operation patterns can help detect potential exploitation attempts in real-time.

This vulnerability aligns with Common Weakness Enumeration (CWE) categories such as CWE-284 Improper Access Control and CWE-367 Time-of-check Time-of-use Race Condition, reflecting the fundamental flaws in authorization logic and state management. In terms of the MITRE ATT&CK framework, this exploit maps to techniques involving Privilege Escalation on Linux systems and potentially Command Line Interface Abuse for executing arbitrary commands within the host environment. Security teams should treat this as a high-severity issue requiring immediate remediation due to its direct path from low-privileged user access to full system compromise without requiring additional vulnerabilities or social engineering attacks.

Responsible

Canonical

Reservation

11/23/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00490

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!