HIGH7.5
GO-2026-4554
esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route in github.com/esm-dev/esm.sh
Quick fix
GO-2026-4554 — 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-20250616164159-0593516c4cfaDetails
esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route in github.com/esm-dev/esm.sh
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-20250616164159-0593516c4cfaFix
go get github.com/esm-dev/esm.sh@v0.0.0-20250616164159-0593516c4cfaReferences
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4r[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2026-27730[ADVISORY]
- https://github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0[FIX]
- https://github.com/esm-dev/esm.sh/pull/1149[FIX]
- https://github.com/esm-dev/esm.sh/releases/tag/v137[WEB]