Skip to content
OpenAdvisories
High · 7.5 CVE-2026-44594 EUVD-2026-32911GHSA-rg65-45m7-hq57GO-2026-5620

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

Published May 28, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
esm-dev esm.sh <= 137 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/esm-dev/esm.sh < 0.0.0-20250616164159-0593516c4cfa 0.0.0-20250616164159-0593516c4cfa GHSA-rg65-45m7-hq57

Advisories 1

References