9.8

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

Analyzed
AliasesGHSA-h3mw-4f23-gwpwGO-2025-4138
Published 19-11-2025Last modified 20-11-2025

Vulnerability summary

CVE-2025-65025 is a critical (CVSS 9.8) vulnerability in esm-dev esm.sh. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 48.6% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.57%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 19-11-2025
    PublishedVulnerability first disclosed.
  2. 20-11-2025
    Last 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

EPSS trend

Probability

0.57%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.57% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Esm.Sh

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Esm1 product
Esm-dev1 product
Github.com/esm-dev1 product
  • esm.sh< 0.0.0-20251117232647-9d77b88c3207

3 vendors · 3 products

References

4 links