Live threats

All CVEs / Esm

CVE-2025-65025Esm.sh

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Esm.sh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
esmesm.sh< 136

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.