Vulnerability
CVE-2026-27730
esm.sh is a no-build content delivery network (CDN) for web development. Versions up to and including 137 have an SSRF vulnerability (CWE-918) in esm.sh’s `/http(s)` fetch route. The service tries to block localhost/internal targets, but the validation is based on hostname string checks and can be bypassed using DNS alias domains. This allows an external requester to make the esm.sh server fetch internal localhost services. As of time of publication, no known patched versions exist.
4 advisories report this vulnerability, across 2 ecosystems.
Advisories
-
GHSA-p2v6-84h2-5x4r
esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
-
GO-2026-4554
esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route in github.com/esm-dev/esm.sh
-
SUSE-SU-2026:1042-1
Security update for govulncheck-vulndb
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb