NetSight
high7.5

CVE-2026-44594

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

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/esm-dev/esm.sh< 0.0.0-20250616164159-0593516c4cfa0.0.0-20250616164159-0593516c4cfa

Weakness classification

References