CVE-2026-27730Esm.sh
High 7.5 No auth needed
Follow: this CVE · Esm · Esm.sh We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 25, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Esm.sh.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/esm-dev/esm.sh |
< 0.0.0-20250616164159-0593516c4cfa |
0.0.0-20250616164159-0593516c4cfa |
go get github.com/esm-dev/esm.sh@v0.0.0-20250616164159-0593516c4cfa |
| Go | github.com/esm-dev/esm.sh |
< 0.0.0-20250616164159-0593516c4cfa |
0.0.0-20250616164159-0593516c4cfa |
go get github.com/esm-dev/esm.sh@v0.0.0-20250616164159-0593516c4cfa |
Per OSV / GitHub Advisories (GHSA-p2v6-84h2-5x4r, GO-2026-4554). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| esm | esm.sh | ≤ 137 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:1042-1 · Mar 25, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory