PT-2025-47503 · Esm.Sh · Esm.Sh

Published

2025-11-19

·

Updated

2025-12-15

·

CVE-2025-65025

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions esm.sh versions prior to 136
Description The esm.sh CDN service is susceptible to a path traversal issue during the extraction of NPM package tarballs. An attacker can create a malicious NPM package with crafted file paths, such as package/../../tmp/evil.js. When esm.sh downloads and extracts this package, files can be written to locations outside the intended extraction directory, potentially allowing for arbitrary file writes on the server.
Recommendations Update to version 136 or later.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-65025
GHSA-H3MW-4F23-GWPW
GO-2025-4138
SUSE-SU-2025:4395-1

Affected Products

Esm.Sh