CVE-2026-44594: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in esm-dev esm.sh
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.
AI Analysis
Technical Summary
esm.sh is a no-build CDN for web development. Versions 137 and earlier contain a CWE-22 path traversal vulnerability in the esbuild plugin's processing of the browser field in package.json. This flaw allows an attacker to craft an npm package that triggers the server to read arbitrary files on the host filesystem during build time, resulting in Local File Inclusion. The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The vulnerability is publicly known but lacks an official fix or patch at this time.
Potential Impact
Successful exploitation allows an unauthenticated attacker to cause the esm.sh server to read and disclose arbitrary files from its host filesystem. This can lead to exposure of sensitive information, potentially compromising confidentiality. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid using esm.sh versions 137 and earlier in untrusted environments or with unverified npm packages. Monitor esm-dev vendor communications for updates on remediation.
CVE-2026-44594: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in esm-dev esm.sh
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.
CVSS v3.1
Score 7.5high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
esm.sh is a no-build CDN for web development. Versions 137 and earlier contain a CWE-22 path traversal vulnerability in the esbuild plugin's processing of the browser field in package.json. This flaw allows an attacker to craft an npm package that triggers the server to read arbitrary files on the host filesystem during build time, resulting in Local File Inclusion. The vulnerability has a CVSS 3.1 base score of 7.5, indicating high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The vulnerability is publicly known but lacks an official fix or patch at this time.
Potential Impact
Successful exploitation allows an unauthenticated attacker to cause the esm.sh server to read and disclose arbitrary files from its host filesystem. This can lead to exposure of sensitive information, potentially compromising confidentiality. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid using esm.sh versions 137 and earlier in untrusted environments or with unverified npm packages. Monitor esm-dev vendor communications for updates on remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-06T21:49:12.426Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a186052e29bf47b500b4219
Added to database: 5/28/2026, 3:33:38 PM
Last enriched: 5/28/2026, 3:48:50 PM
Last updated: 5/29/2026, 8:21:25 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.