# CVE-2025-53513: Zip slip vulnerability in Juju

- Severity: High 8.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-08T16:57:06.351Z
- Modified: 2026-07-08T07:14:03.650Z
- Also known as: GHSA-24ch-w38v-xmh8, GO-2025-3804
- Weaknesses: CWE-22, CWE-24
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## 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 access to a machine running a unit through the affected charm.

(As written by CVE List.)

## Affected

- juju: from 2.0.0 before 2.9.52; from 3.0.0 before 3.6.8
- github.com/juju/juju (Go): before 0.0.0-20250619215741-6356e984b82a
- canonical juju: before 2.9.52; from 3.0 before 3.6.8

## Every score

- canonical: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/juju/juju/security/advisories/GHSA-24ch-w38v-xmh8> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-53513> (advisory)
- <https://github.com/juju/juju/commit/6356e984b82a4a7b9771ff5e51e297ad62f3b405> (fix, web)
- <https://github.com/juju/juju/commit/ff39557a137c0e95d4cd3553b0f19c859c6f5d8e> (fix, web)
- <https://drive.google.com/file/d/1pHRNiaA8LyMVJYwIyTqelsqJ9FmImDf0/view> (web)
- <https://github.com/juju/juju> (package)
- <https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L754> (web)
- <https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L897> (web)
- <https://github.com/juju/juju/blob/3.6/apiserver/apiserver.go#L990> (web)
- <https://pkg.go.dev/vuln/GO-2025-3804> (web)

## Sources

- CVE List: [CVE-2025-53513](https://www.cve.org/CVERecord?id=CVE-2025-53513), CVE Terms of Use, modified 2025-07-09
- GitHub Advisory Database: [GHSA-24ch-w38v-xmh8](https://github.com/advisories/GHSA-24ch-w38v-xmh8), CC-BY-4.0, modified 2026-07-08
- Go Vulnerability Database: [GO-2025-3804](https://pkg.go.dev/vuln/GO-2025-3804), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-53513](https://nvd.nist.gov/vuln/detail/CVE-2025-53513), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53513 · Whole record: https://cve.day/CVE-2025-53513.json · Rebuilt by cve.day 2026-11-25T22:59:00.958Z
