CVE-2026-102657: esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal
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.
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?Timeline
- 06-11-2026PublishedVulnerability first disclosed.
- 11-11-2026Last 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- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Esm-dev1 product
- esm.sh< 137_7
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- github.com/esm-dev/esm.shPACKAGE