Security Resilience

CVE-2025-53513

Path Traversal in Canonical Juju ≤ 2.9.52

Public PoCPath Traversal
Published
08 July 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0080 57th percentile
Risk Priority 65 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-53513 is a high-severity Path Traversal: '../filedir' (CWE-24) vulnerability in Canonical Juju. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique External Defacement (T1491.002); ranked in the top 43% of CVEs by exploit likelihood; 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.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-53513 is a high-severity vulnerability in the Juju controller, published on 2025-07-08, stemming from insufficient authorization checks on the /charms endpoint. This flaw allows any user with an account on the controller to upload charms without proper restrictions. A malicious charm exploiting a Zip Slip vulnerability (associated with CWE-24: Relative Path Traversal and CWE-22: Improper Limitation of a Pathname to a Restricted Directory) could then be used to compromise machines running units of that charm. The issue carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attackers require only low privileges, specifically an account on the Juju controller, to exploit this remotely over the network with low complexity and no user interaction. By uploading a crafted malicious charm, the attacker can leverage the Zip Slip vulnerability during charm deployment or processing, achieving high-impact confidentiality, integrity, and availability violations, including unauthorized access to the underlying machine hosting a unit of the charm.

Mitigation details are outlined in the official Juju security advisory available at https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller to upload a charm. Uploading a malicious charm that exploits a Zip Slip vulnerability could allow an attacker to gain…

more

access to a machine running a unit through the affected charm.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1491.002 External Defacement Impact
An adversary may deface systems external to an organization in an attempt to deliver messaging, intimidate, or otherwise mislead an organization or users.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-0092Same product: Canonical Juju
CVE-2026-49238Same vendor: Canonical
CVE-2025-54292Same vendor: Canonical
CVE-2025-54293Same vendor: Canonical
CVE-2024-27776Same vendor: Canonical
CVE-2024-6746Shared CWE-22, CWE-24
CVE-2024-3686Shared CWE-22, CWE-24
CVE-2026-21857Shared CWE-22, CWE-24
CVE-2026-41082Shared CWE-22, CWE-24
CVE-2023-20166Shared CWE-22, CWE-24

Affected Assets

canonical
juju
≤ 2.9.52 · 3.0 — 3.6.8

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

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)

Our mappings, made for this CVE.

Enforces the intended directory access authorizations that path traversal would otherwise bypass.

Input validation directly neutralizes '../' sequences in externally-supplied pathnames before they are resolved.

Least privilege reduces the impact of any unauthorized file access obtained via traversal.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and path sanitization that prevent ../ traversal.

PR.PS-02 partial match
blocks

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.

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches path-traversal flaws before release.

prevents

Training developers in secure coding practices (input validation, path neutralization) reduces path traversal defects but is a fallible human practice; the A.6.3 vs CWE-598 anchor sets the rung for code-level defects developers introduce, and path traversal sits in the same band.

removes

A.8.19 governs the installation and update process for operational software, ensuring integrity and preventing exploitation, but it does not remove existing path traversal flaws in application code; the weakness is a code defect that persists unless the code itself is fixed.

prevents

Secure coding standards require neutralizing ../ sequences and canonicalizing paths before file operations.

finds

A.8.8's reach is DISCLOSURE — vulnerability scanning, patch management, and tracking third-party libraries all see only what carries a published advisory. Path traversal commonly surfaces as CVEs (it is a well-known class), so the disclosed share is non-trivial, but most path traversal in custom first-party code never gets a CVE and is outside A.8.8's view. The penetration-testing element in (e) is part of the programme but does not change the control's primary disclosure-based reach, and the guidance is clear that an actor naming one reach is not credited with others.

References