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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-02-25 · Modified: 2026-02-25
- Aliases: GHSA-p2v6-84h2-5x4r, GO-2026-4554
- Record: https://cvemate.com/vulnerability/CVE-2026-27730 · JSON: https://cvemate.com/vulnerability/CVE-2026-27730/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.395%, percentile 35.809%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- esm-dev esm.sh: ≤ 137
- esm esm.sh: ≤ 137
- github.com/esm-dev esm.sh (Go): \< 0.0.0-20250616164159-0593516c4cfa

## References

- <https://github.com/esm-dev/esm.sh/security/advisories/GHSA-p2v6-84h2-5x4r>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27730>
- <https://github.com/esm-dev/esm.sh/pull/1149>
- <https://github.com/esm-dev/esm.sh/commit/0593516c4cfab49ad3b4900416a8432ff2e23eb0>
- <https://github.com/esm-dev/esm.sh>
- <https://github.com/esm-dev/esm.sh/releases/tag/v137>

---

Data as of 2026-12-05T18:17:19.956Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
