# GO-2026-6954: esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal in github.com/esm-dev/esm.sh

- Database: Go
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-102657](https://cve.now/CVE-2026-102657.md): esm.sh arbitrary file read in web.NewHandler

## Also published as

- [GHSA-G3C2-RJQ2-C763](https://cve.now/GHSA-G3C2-RJQ2-C763.md) (GitHub)

## Affected versions

- github.com/esm-dev/esm.sh (Go): fixed in 0.2.0

## Description

esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal in github.com/esm-dev/esm.sh

## References

- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763
- https://nvd.nist.gov/vuln/detail/CVE-2026-102657
- https://github.com/esm-dev/esm.sh/commit/468b6b2a4b4dfec334cf6b33b01fcd4e5cd93bed
- https://github.com/esm-dev/esm.sh/commit/fc3b345e73aeaa0b7a05b6f27d91c05fdf5f9b53
- https://github.com/esm-dev/esm.sh/pull/1376
- https://github.com/esm-dev/esm.sh/releases/tag/v0.2.0
- https://github.com/esm-dev/esm.sh/releases/tag/v137_7

Page: https://cve.now/GO-2026-6954

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
