Cyber Resilience

CVE-2025-54292

Path Traversal in Canonical Lxd 5.0.0 – 5.21.4

Public PoCPath Traversal
Published
02 October 2025
Modified
10 December 2025
Patch / advisory
CVSS Score v4 4.8
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0030 22th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-54292 is a medium-severity Path Traversal (CWE-22) vulnerability in Canonical Lxd. Its CVSS base score is 4.8 (Medium).

Operationally, ranked at the 22th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-54293Same product: Canonical Lxd
CVE-2026-49238Same vendor: Canonical
CVE-2023-0092Same vendor: Canonical
CVE-2025-53513Same vendor: Canonical
CVE-2024-27776Same vendor: Canonical
CVE-2020-11652Same vendor: Canonical
CVE-2023-37218Shared CWE-22
CVE-2026-41655Shared CWE-22
CVE-2025-7712Shared CWE-22
CVE-2020-4430Shared CWE-22

Affected Assets

canonical
lxd
5.0.0 — 5.21.4 · 6.0 — 6.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • SI-10 Information Input Validation
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.3.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces access policy on resources so that crafted URL paths cannot bypass intended authorization checks in LXD-UI.

prevent

Requires validation of all input (including URL path segments) to reject path traversal sequences before they reach resource handlers.

prevent

Limits the privileges of authenticated LXD-UI sessions so that even a successful traversal yields access only to the minimal set of resources.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-02 partial match
prevents

Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.

PR.AA-05 none match
prevents

PR.AA-05 defines and reviews access policies but does not address code-level pathname neutralization, so neither direction prevents CWE-22.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches path traversal via static/dynamic analysis.

prevents

Secure SDLC mandates input validation and path sanitization that directly prevent path traversal.

prevents

Application security requirements include rules for safe file handling and canonicalization.

prevents

Secure architecture principles require least-privilege file access and directory isolation.

prevents

Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.

mitigates

Information access restriction limits which files an application may read or write.

References