Live threats

All CVEs / Esm

CVE-2026-27730Esm.sh

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Esm.sh.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
esmesm.sh≤ 137

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.