Skip to main content
← All vulnerabilities
CVE-2026-44594GO-2026-5620GHSA-RG65-45M7-HQ57

esm.sh: Path Traversal via package.json browser field allows reading arbitrary server files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20250616164159-0593516c4cfa
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, a Local File Inclusion (LFI) vulnerability exists in the esbuild plugin's handling of the browser field in package.json. An attacker can publish an npm package that causes the server to read and return arbitrary files from the host filesystem during the build process.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • esm-dev esm.sh

    through 137

  • github.com/esm-dev/esm.shGo

    fixed in 0.0.0-20250616164159-0593516c4cfa

References 1

GitHub · esm-dev/esm.sh