CVE 7.7 HIGH

esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages_CVE-2026-23644

7.7 / 10
HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P

Description

esm.sh is a no-build content delivery network (CDN) for web development. Prior to Go pseeudoversion 0.0.0-20260116051925-c62ab83c589e, the software has a path traversal vulnerability due to an incomplete fix. `path.Clean` normalizes a path but does not prevent absolute paths in a malicious tar file. Commit https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16, corresponding to pseudoversion 0.0.0-20260116051925-c62ab83c589e, fixes this issue.

Basic Information

ID CVE-2026-23644
Source GitHub_M
Published Jan 18, 2026 at 22:49

Affected Product

Vendor esm-dev
Product esm.sh
Version < 0.0.0-20260116051925-c62ab83c589e
Affected Versions esm-dev esm.sh < 0.0.0-20260116051925-c62ab83c589e

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.