Skip to main content
← All vulnerabilities
CVE-2026-27730GO-2026-4554GHSA-P2V6-84H2-5X4R

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20250616164159-0593516c4cfa
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • esm-dev esm.sh

    through 137

  • github.com/esm-dev/esm.shGo

    fixed in 0.0.0-20250616164159-0593516c4cfa

References 1

GitHub · esm-dev/esm.sh