CVE-2026-27730
HIGH 7.5CVSS 3.1esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
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.
- Published
- 25 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-p2v6-84h2-5x4rGO-2026-4554
- Sources
- NVDJSONOSV GHSA-p2v6-84h2-5x4rJSONOSV GO-2026-4554JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 8.6 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | esm | esm.shcpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:* |
<= 137 | |
| OSV | Go | github.com/esm-dev/esm.sh | < 0.0.0-20250616164159-0593516c4cfa | 0.0.0-20250616164159-0593516c4cfa |
References
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4r · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-27730 · ADVISORY
- https://github.com/esm-dev/esm.sh/pull/1149 · WEB, FIX
- https://github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0 · WEB, FIX
- https://github.com/esm-dev/esm.sh · PACKAGE
- https://github.com/esm-dev/esm.sh/releases/tag/v137 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 25 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Feb 2026)