CVE-2025-65025: esm-dev esm.sh Path Traversal
Vulnerability summary
CVE-2025-65025 is a critical (CVSS 9.8) Path Traversal vulnerability in esm-dev esm.sh. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 19-11-2025PublishedVulnerability first disclosed.
- 20-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated8.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NDiffers
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
0.00 pp
From 0.53% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundEsm.Sh
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Esm1 product
- esm.sh< 136
Esm-dev1 product
- esm.sh< 136
Github.com/esm-dev1 product
- esm.sh< 0.0.0-20251117232647-9d77b88c3207
3 vendors · 3 products
References
4 links- github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpwX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16X Refsource MISCWEBFIXPatch
- github.com/esm-dev/esm.shPACKAGE