CVE-2025-65025Esm.sh
Critical 9.8 No auth needed
Follow: this CVE · Esm · Esm.sh We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 19, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Esm.sh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/esm-dev/esm.sh |
< 0.0.0-20251117232647-9d77b88c3207 |
0.0.0-20251117232647-9d77b88c3207 |
go get github.com/esm-dev/esm.sh@v0.0.0-20251117232647-9d77b88c3207 |
| Go | github.com/esm-dev/esm.sh |
< 0.0.0-20251117232647-9d77b88c3207 |
0.0.0-20251117232647-9d77b88c3207 |
go get github.com/esm-dev/esm.sh@v0.0.0-20251117232647-9d77b88c3207 |
Per OSV / GitHub Advisories (GHSA-h3mw-4f23-gwpw, GO-2025-4138). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| esm | esm.sh | < 136 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2025:4395-1 · Dec 15, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory