CVE-2026-27730

esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route

Published Feb 25, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p2v6-84h2-5x4r esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Esm-dev
Esm-dev esmsh
Vendors & Products Esm-dev
Esm-dev esmsh
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

{'score': 8.6, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 25, 2026, 8:32 PM
Reserved
Feb 23, 2026, 6:37 PM
Status
Analyzed
Published
Feb 25, 2026, 4:23 PM
Modified
Jun 17, 2026, 10:27 AM