CVE-2025-65025: esm.sh · Path Traversal
Affects esm.shSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 136 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 136
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade esm-dev/esm.sh to 136.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubesm-dev/esm.shpkg:github/esm-dev/esm.shOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade esm.sh to version 136 or later, where the path traversal vulnerability has been patched. Organizations should audit their use of esm.sh and ensure no legacy versions are in operation. Additionally, implement strict file system permissions on servers running esm.sh to limit the directories where files can be written, minimizing the impact of any potential exploitation. Employ monitoring and alerting for unusual file system changes, especially outside expected directories, to detect exploitation attempts early. Integrate integrity checking tools to verify the authenticity and expected structure of NPM packages before extraction. Consider sandboxing the extraction process to isolate it from critical system components. Finally, review and tighten supply chain security practices around third-party package usage to reduce the risk of malicious package introduction.
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.