CVE-2026-27730
esm.sh is a no-build content delivery network (CDN) for web …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4r
- nvd.nist.gov/vuln/detail/CVE-2026-27730
- github.com/esm-dev/esm.sh/pull/1149
- github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0
- github.com/esm-dev/esm.sh/releases/tag/v137
- github.com/advisories/GHSA-p2v6-84h2-5x4r
- nvd.nist.gov/vuln/detail/CVE-2026-27730
- cve.org/CVERecord?id=CVE-2026-27730
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.