7.5

CVE-2026-102657: esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal

Deferred
AliasesGHSA-g3c2-rjq2-c763GO-2026-6954
Published 06-11-2026Last modified 11-11-2026

Vulnerability summary

CVE-2026-102657 is a high (CVSS 7.5) vulnerability in esm-dev esm.sh. EPSS estimates a 4.05% chance of exploitation in the next 30 days, higher than 90.9% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
4.05%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-11-2026
    PublishedVulnerability first disclosed.
  2. 11-11-2026
    Last modifiedVulnerability information updated.

Description

esm.sh is a no-build content delivery network (CDN) for web development. Prior to server version 137_7, the documented web.NewHandler static file server in web/handler.go joins the URL-decoded r.URL.Path with Config.AppDir without verifying that the result remains inside the configured application directory. URL-encoded dot segments such as %2e%2e bypass the plain traversal redirect performed by Go's ServeMux, allowing an unauthenticated remote attacker to make the server open and return files outside Config.AppDir that are readable by the server process. The confirmed impact is file disclosure only, and the issue is reachable with Dev disabled. This issue is fixed in server version 137_7.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

4.05%

Chance of exploitation in the next 30 days

Percentile

91%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

07-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Esm-dev1 product
Github.com/esm-dev1 product
  • esm.sh< 0.2.0
Github.com/esm-dev/esm.sh1 product
  • web< 0.2.0

3 vendors · 3 products

References

8 links