Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/esm-dev/esm.sh
  4. ›
  5. CVE-2026-44594

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

May 12, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-rg65-45m7-hq57
  • github.com/esm-dev/esm.sh/releases/tag/v137
  • github.com/esm-dev/esm.sh/security/advisories/GHSA-rg65-45m7-hq57
  • nvd.nist.gov/vuln/detail/CVE-2026-44594

Code Behaviors & Features

Detect and mitigate CVE-2026-44594 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20250616164159-0593516c4cfa

Fixed versions

  • 0.0.0-20250616164159-0593516c4cfa

Solution

Upgrade to version 0.0.0-20250616164159-0593516c4cfa or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/esm-dev/esm.sh/CVE-2026-44594.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:39 +0000.