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.
Project Subscriptions
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-p2v6-84h2-5x4r | esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 27 Feb 2026 17:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Esm
Esm esm.sh |
|
| CPEs | cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Esm
Esm esm.sh |
|
| Metrics |
cvssV3_1
|
Thu, 26 Feb 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Esm-dev
Esm-dev esmsh |
|
| Vendors & Products |
Esm-dev
Esm-dev esmsh |
Wed, 25 Feb 2026 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV3_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-02-25T20:32:05.079Z
Reserved: 2026-02-23T18:37:14.789Z
Link: CVE-2026-27730
No data.
Status : Analyzed
Published: 2026-02-25T16:23:27.123
Modified: 2026-02-27T17:43:47.737
Link: CVE-2026-27730
No data.
OpenCVE Enrichment
Updated: 2026-02-26T13:15:49Z
Weaknesses
Github GHSA