# CVE-2025-65025: esm.sh CDN service has arbitrary file write via tarslip

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 136 (CNA); fix release not confirmed
- Status: published
- Published: 2025-11-19 · Modified: 2025-11-20
- Aliases: GHSA-h3mw-4f23-gwpw, GO-2025-4138
- Record: https://cvemate.com/vulnerability/CVE-2025-65025 · JSON: https://cvemate.com/vulnerability/CVE-2025-65025/json

## Description

```text
esm.sh is a nobuild content delivery network(CDN) for modern web development. Prior to version 136, the esm.sh CDN service is vulnerable to path traversal during NPM package tarball extraction. An attacker can craft a malicious NPM package containing specially crafted file paths (e.g., package/../../tmp/evil.js). When esm.sh downloads and extracts this package, files may be written to arbitrary locations on the server, escaping the intended extraction directory. This issue has been patched in version 136.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.571%, percentile 48.676%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- esm-dev esm.sh: \< 136
- esm esm.sh: \< 136
- github.com/esm-dev esm.sh (Go): \< 0.0.0-20251117232647-9d77b88c3207

## References

- <https://github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpw>
- <https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65025>
- <https://github.com/esm-dev/esm.sh>

---

Data as of 2026-12-05T18:17:26.118Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
