{"affected":[{"product":"esm.sh","source":"CNA: GitHub_M","vendor":"esm-dev","versions":[{"status":"affected","version":"< 137_7"}]}],"cveId":"CVE-2026-102657","cwes":["CWE-22"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.5,"severity":"high","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}],"modifiedAt":1793998168708,"publishedAt":1793998168708,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/esm-dev/esm.sh/pull/1376"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/esm-dev/esm.sh/commit/468b6b2a4b4dfec334cf6b33b01fcd4e5cd93bed"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/esm-dev/esm.sh/commit/fc3b345e73aeaa0b7a05b6f27d91c05fdf5f9b53"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/esm-dev/esm.sh/releases/tag/v137_7"}],"remediation":[],"revision":"548218ead2749ea36ed1cdc1b146c6f6f63dc457ec680578308f967117171e26","sources":[{"modifiedAt":1793998168708,"name":"CNA: GitHub_M","retrievedAt":1793999328083,"url":"https://www.cve.org/CVERecord?id=CVE-2026-102657"}],"ssvc":null,"status":"published","title":"esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal","updatedAt":1793999328083}