LowGO-2026-6954CVE-2026-102657GHSA-g3c2-rjq2-c763

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

Published 23 Nov 2026 · Updated 23 Nov 2026

Is your project on an affected github.com/esm-dev/esm.sh?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<0.2.0
Fixed in
0.2.0
Update to the fixed version for your release line, for example:go get github.com/esm-dev/esm.sh@v0.2.0

Details

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

Is GO-2026-6954 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/esm-dev/esm.sh, and gives you the command that fixes it.

More advisories for github.com/esm-dev/esm.sh

  • LowCVE-2026-44594esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files in github.com/esm-dev/esm.sh · 25 Jun 2026
  • LowCVE-2026-44593esm.sh: Legacy Route Path Traversal Can Lead to RCE in github.com/esm-dev/esm.sh · 25 Jun 2026
  • HighCVE-2026-44594esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files · 12 May 2026
  • HighCVE-2026-44593esm.sh: Legacy Route Path Traversal Can Lead to RCE · 12 May 2026
  • LowCVE-2026-27730esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route in github.com/esm-dev/esm.sh · 27 Feb 2026
  • LowCVE-2026-23644esm.sh has a path traversal in extractPackageTarball enables file writes from malicious packages · 26 Feb 2026
All 19 advisories for github.com/esm-dev/esm.sh

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.