VDB
Sign up
—

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-c62ab83c589e

Details

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-c62ab83c589e
Fixgo get github.com/esm-dev/esm.sh@v0.0.0-20260116051925-c62ab83c589e

References