CVE-2025-53513
Published: 08 July 2025
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 Exploit Public-Facing Application (T1190); ranked in the top 33.4% 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 are NIST 800-53 AC-3 (Access Enforcement) and AC-6 (Least Privilege).
Threat & Defense at a Glance
Threat & Defense Details
Mitigating Controls (NIST 800-53 r5)AI
Enforces approved authorizations on the /charms endpoint to prevent any user with a controller account from uploading malicious charms.
Applies least privilege to restrict charm upload capabilities to only necessary users, mitigating exploitation by low-privileged accounts.
Validates information inputs in uploaded charm zip files to block Zip Slip path traversal attacks during processing or deployment.
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Insufficient authorization on the /charms upload endpoint directly enables remote exploitation of the public-facing Juju controller (authenticated low-privilege account) to deploy malicious charms that achieve code execution/compromise via Zip Slip.
NVD Description
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.
Deeper analysisAI
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.
Details
- CWE(s)