Skip to content
CVE PROGRAM SOURCE RECORD8.6 High

CVE-2026-27730

esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

esm-dev esm.sh

  • <= 137affected

References