Skip to main content
Vulnerability Database/CVE-2025-54292

CVE-2025-54292: Canonical LXD Path Traversal Vulnerability

CVE-2025-54292 is a path traversal vulnerability in Canonical LXD-UI that lets authenticated attackers access or modify unintended resources through crafted URL paths. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-54292 Overview

CVE-2025-54292 is a path traversal vulnerability in Canonical LXD LXD-UI. The flaw affects LXD-UI versions prior to 6.5 and 5.21.4 on all supported platforms. Remote authenticated attackers can access or modify unintended resources by embedding crafted resource names in URL paths. The weakness is tracked under CWE-22, Improper Limitation of a Pathname to a Restricted Directory. Canonical published guidance in GitHub Security Advisory GHSA-7425.

Critical Impact

Authenticated users can traverse out of intended resource scopes within LXD-UI to read or modify resources that should be inaccessible to them.

Affected Products

  • Canonical LXD LXD-UI versions before 6.5
  • Canonical LXD LXD-UI versions before 5.21.4
  • All platforms running the affected LXD-UI builds

Discovery Timeline

  • 2025-10-02 - CVE-2025-54292 published to NVD
  • 2026-10-12 - Last updated in NVD database

Technical Details for CVE-2025-54292

Vulnerability Analysis

LXD is Canonical's system container and virtual machine manager. LXD-UI is the web interface shipped with LXD for managing instances, networks, storage, and profiles. The vulnerability allows an authenticated user to supply crafted resource identifiers in URL path segments. These identifiers are not properly normalized or constrained before being used to resolve backend resources.

An attacker with valid credentials can submit requests containing traversal sequences in resource name parameters. The server resolves these paths outside the intended scope, exposing or modifying resources the caller should not reach. Because authentication is required and user interaction factors into the attack chain, the impact is bounded to confidentiality of in-scope resources.

The EPSS probability stands at 0.32%, indicating low near-term exploitation likelihood. No public proof-of-concept or exploit code is currently available.

Root Cause

The root cause is insufficient validation of resource names embedded in URL paths within LXD-UI request handlers. The handlers accept input that resolves outside the intended directory or object namespace, satisfying CWE-22 conditions for path traversal.

Attack Vector

Exploitation requires network access to the LXD-UI endpoint and valid authenticated credentials. The attacker crafts a request where a resource name parameter contains traversal sequences or alternate encodings. The server processes the manipulated identifier and returns or modifies a resource outside the caller's authorized scope. See the GitHub Security Advisory GHSA-7425 for additional technical context.

Detection Methods for CVE-2025-54292

Indicators of Compromise

  • HTTP requests to LXD-UI endpoints containing ../, ..%2f, or encoded traversal sequences in resource name path segments.
  • Access log entries showing authenticated users requesting resources outside their project or namespace scope.
  • Unexpected read or modification events against LXD instances, profiles, or storage volumes not owned by the requesting identity.

Detection Strategies

  • Inspect LXD-UI and reverse proxy access logs for path segments containing traversal patterns or unusual URL encodings.
  • Correlate authenticated session identity with the project and namespace of accessed resources to flag cross-scope access.
  • Alert on API calls that resolve to resources outside the requester's assigned role bindings in LXD.

Monitoring Recommendations

  • Centralize LXD daemon and LXD-UI logs in a SIEM and apply detections for path traversal signatures in URL paths.
  • Monitor configuration and state changes on LXD-managed instances, profiles, networks, and storage pools for unauthorized modifications.
  • Track authentication and authorization decisions for LXD-UI sessions to establish a baseline of normal resource access.

How to Mitigate CVE-2025-54292

Immediate Actions Required

  • Upgrade LXD to a version containing LXD-UI 6.5 or 5.21.4 or later on all affected hosts.
  • Restrict network access to LXD-UI endpoints to trusted administrative networks only.
  • Review LXD user and certificate trust stores and revoke any credentials that are no longer required.
  • Audit recent LXD-UI access logs for traversal patterns and investigate any cross-scope resource access.

Patch Information

Canonical fixed CVE-2025-54292 in LXD-UI versions 6.5 and 5.21.4. Refer to the GitHub Security Advisory GHSA-7425 for release details and upgrade guidance. Apply the vendor-provided packages through the standard snap or distribution channels used in your environment.

Workarounds

  • Disable LXD-UI where it is not operationally required and manage LXD through the lxc command-line client instead.
  • Place LXD-UI behind an authenticating reverse proxy that normalizes and rejects URL paths containing traversal sequences.
  • Limit LXD-UI accounts to the minimum set of trusted administrators until the upgrade is applied.
bash
# Example: upgrade LXD via snap to a fixed release
sudo snap refresh lxd --channel=5.21/stable
sudo snap refresh lxd --channel=latest/stable
lxd --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.