—
GO-2026-4332
esm.sh has a path traversal in extractPackageTarball enables file writes from malicious packages
Quick fix
GO-2026-4332 — github.com/esm-dev/esm.sh: upgrade to the fixed version with the command below.
go get github.com/esm-dev/esm.sh@v0.0.0-20260116051925-c62ab83c589eDetails
esm.sh has a path traversal in extractPackageTarball enables file writes from malicious packages
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/esm-dev/esm.sh
Introduced in:
0Fixed in: 0.0.0-20260116051925-c62ab83c589eFix
go get github.com/esm-dev/esm.sh@v0.0.0-20260116051925-c62ab83c589eReferences
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-23644[ADVISORY]
- https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16[FIX]
- https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093[FIX]