Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-54292: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical LXD

0
Medium
VulnerabilityCVE-2025-54292cvecve-2025-54292cwe-22
Published: Thu Oct 02 2025 (10/02/2025, 09:26:39 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: LXD

Description

Path traversal in Canonical LXD LXD-UI versions before 6.5 and 5.21.4 on all platforms allows remote authenticated attackers to access or modify unintended resources via crafted resource names embedded in URL paths.

AI-Powered Analysis

AILast updated: 10/09/2025, 10:35:46 UTC

Technical Analysis

CVE-2025-54292 is a path traversal vulnerability classified under CWE-22 affecting Canonical's LXD LXD-UI versions before 6.5 and 5.21.4 across all platforms. LXD is a container hypervisor widely used for managing Linux containers. The vulnerability arises due to improper limitation of pathname inputs, allowing attackers to craft resource names embedded in URL paths that traverse directories beyond intended boundaries. This enables remote authenticated users to access or modify files and resources outside the permitted scope, potentially leading to unauthorized data disclosure or integrity compromise. The attack vector is network-based (AV:N), requires low attack complexity (AC:L), and only low privileges (PR:L) with user interaction (UI:A). The vulnerability does not affect confidentiality, integrity, or availability directly at a high level but poses a risk of limited confidentiality loss (VC:L). No known exploits have been reported yet, but the vulnerability is publicly disclosed and patched in versions 6.5 and 5.21.4. The flaw stems from insufficient input validation and path sanitization in the LXD-UI component, which handles resource names in URL paths. This can be exploited by authenticated users to escape restricted directories and access or alter unintended files, potentially leading to privilege escalation or data leakage within containerized environments.

Potential Impact

For European organizations, especially those relying on LXD for container management in cloud or on-premises environments, this vulnerability could lead to unauthorized access or modification of sensitive configuration files, container images, or operational data. This may compromise the integrity and confidentiality of container workloads, potentially affecting business-critical applications and services. The ability for authenticated users to exploit this flaw means insider threats or compromised credentials could be leveraged to escalate access. Given the widespread adoption of Linux containers in European data centers and cloud infrastructures, exploitation could disrupt operations or lead to data breaches. While the vulnerability does not directly impact availability, the indirect effects of unauthorized modifications could cause service disruptions or require costly incident response and remediation efforts.

Mitigation Recommendations

Organizations should immediately upgrade affected LXD LXD-UI installations to versions 6.5 or 5.21.4 where the vulnerability is patched. In addition, implement strict input validation and sanitization on all resource name parameters to prevent path traversal attempts. Enforce the principle of least privilege for user accounts with access to LXD-UI, limiting permissions to only necessary resources. Monitor logs for unusual access patterns or attempts to use crafted URL paths indicative of exploitation attempts. Employ network segmentation to restrict access to LXD management interfaces to trusted administrators only. Regularly audit container and host file system permissions to detect unauthorized changes. Consider deploying web application firewalls (WAFs) with custom rules to detect and block path traversal payloads targeting LXD-UI endpoints. Finally, maintain an up-to-date inventory of container management software versions to ensure timely patching of vulnerabilities.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
canonical
Date Reserved
2025-07-18T07:59:07.917Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68de46967ead30c0938fe4d3

Added to database: 10/2/2025, 9:32:06 AM

Last enriched: 10/9/2025, 10:35:46 AM

Last updated: 11/13/2025, 10:46:54 AM

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats