CVE-2026-27730: esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
Vulnerability summary
CVE-2026-27730 is a high (CVSS 8.6) Server-Side Request Forgery vulnerability in esm-dev esm.sh. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 35.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 25-02-2026PublishedVulnerability first disclosed.
- 25-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · GoEcosystem advisory · calculated8.6HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST8.6HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.39% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundEsm.Sh
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Esm1 product
- esm.sh≤ 137
Esm-dev1 product
- esm.sh≤ 137
Github.com/esm-dev1 product
- esm.sh< 0.0.0-20250616164159-0593516c4cfa
3 vendors · 3 products
References
6 links- github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4rX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/esm-dev/esm.shPACKAGE