Security mailing lists by PureSourceCode

CVE-2026-27730

HIGH 7.5CVSS 3.1

esm.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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD esm esm.sh
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.