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 disclosure only, and the issue is reachable with Dev disabled. This issue is fixed in server version 137_7.
Configurations

No configuration.

History

11 Nov 2026, 05:19

Type Values Removed Values Added
References () https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763 - () https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763 -

06 Nov 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-06 21:17

Updated : 2026-11-11 05:19


NVD link : CVE-2026-102657

Mitre link : CVE-2026-102657

CVE.ORG link : CVE-2026-102657


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')