High severityNVD Advisory· Published Nov 19, 2025· Updated Nov 20, 2025
esm.sh CDN service has arbitrary file write via tarslip
CVE-2025-65025
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/esm-dev/esm.shGo | < 0.0.0-20251117232647-9d77b88c3207 | 0.0.0-20251117232647-9d77b88c3207 |
Affected products
4- ghsa-coords3 versionspkg:golang/github.com/esm-dev/esm.shpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6
< 0.0.0-20251117232647-9d77b88c3207+ 2 more
- (no CPE)range: < 0.0.0-20251117232647-9d77b88c3207
- (no CPE)range: < 0.0.20251209T172047-150000.1.127.1
- (no CPE)range: < 0.0.20251209T172047-150000.1.127.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-h3mw-4f23-gwpwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-65025ghsaADVISORY
- github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16ghsax_refsource_MISCWEB
- github.com/esm-dev/esm.sh/security/advisories/GHSA-h3mw-4f23-gwpwghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.