esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal (CVE-2026-102657)
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…
Facts
- Organisation
- esm-dev
- Product
- esm.sh
- CVE
- CVE-2026-102657
- Exploitation
- Public exploit
- CVSS score
- 7.5
- EPSS, chance of attacks in 30 days
- 4 %
- Made public
- Nov 11, 2026
Why this status
A public exploit is not a confirmed attack: the status moves up when exploitation is observed. Evidence comes from public feeds and the cited sources.
Sources
- CVE record cve.org
- NVD nvd.nist.gov
Summaries are written from the linked sources. Check them before relying on a detail.