Skip to content

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

HighCVSS 7.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known

Description

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 products

ProductAffected versionsFixed in
esm-dev esm.sh(Go) < 0.0.0-20250616164159-0593516c4cfa 0.0.0-20250616164159-0593516c4cfa
esm-dev esm.sh = <= 137 No fix listed

References