CVE-2026-44594 Details
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.
A Local File Inclusion (LFI) vulnerability has been identified in esm.sh, a no-build content delivery network (CDN) for web development, affecting versions through 137. The issue arises in the esbuild plugin's management of the browser field in package.json. An attacker can publish a malicious npm package that tricks the server into reading and returning arbitrary files from the host filesystem during the build process.
It is recommended to add a path validation check after the browser field remapping to prevent path traversal. The vulnerability can be addressed by ensuring that the resolved file paths do not escape the package working directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 28, 2026CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/esm-dev/esm.sh/security/advisories/GHSA-rg65-45m7-hq57 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/esm-dev/esm.sh/security/advisories/GHSA-rg65-45m7-hq57 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| esm.sh | <= 137 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | New CVE Received | [email protected] |
Volerion