Skip to content

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

HighCVSS 7.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
esm-dev esm.sh(Go) < 0.0.0-20250616164159-0593516c4cfa 0.0.0-20250616164159-0593516c4cfa Fixed
esm.sh <= 137 after 137 Fixed
esm-dev esm.sh = <= 137 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
esm-dev esm.sh(Go) < 0.0.0-20250616164159-0593516c4cfa 0.0.0-20250616164159-0593516c4cfa
esm-dev esm.sh = <= 137 No fix listed
esm.sh <= 137 No fix listed

References