Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 71%

CVE-2026-44593: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in esm-dev esm.sh

0
High
VulnerabilityCVE-2026-44593cvecve-2026-44593cwe-22
Published: 05/28/2026 (05/28/2026, 14:44:20 UTC)
Source: CVE Database V5
Vendor/Project: esm-dev
Product: esm.sh

Description

esm.sh is a no-build content delivery network (CDN) for web development. In 137 and earlier, the legacy router first retrieves a response from legacyServer, parses the incoming request path, and ultimately writes the data to storage via buildStorage.Put. The router concatenates the path components without sanitizing them, producing a storage key. When this key is used, the underlying file system resolves the relative segments and writes the file to the specified path. Thus an attacker can craft a request that writes data to arbitrary locations on the server.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
esm-dev/esm.sh
pkg:github/esm-dev/esm.sh
Affected versions
<=137

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 20:26:20 UTC

Technical Analysis

esm.sh, a no-build CDN for web development, contains a path traversal vulnerability (CWE-22) in its legacy router component in versions up to 137. The router retrieves a response from legacyServer, parses the request path, and concatenates path components without sanitization to form a storage key. This key is used in buildStorage.Put to write data to storage. Due to lack of path sanitization, relative path segments can cause the filesystem to write files outside the intended directory, allowing an attacker to write data to arbitrary server locations.

Potential Impact

An attacker can exploit this vulnerability to write files to arbitrary locations on the server hosting esm.sh. This could lead to unauthorized modification or creation of files, potentially compromising server integrity or enabling further attacks. The CVSS 4.0 score is 8.7 (high), reflecting network attack vector, no required privileges or user interaction, and high impact on integrity. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or restricting access to the legacy router functionality if possible, or implement external controls to validate and sanitize request paths before they reach esm.sh. Monitor vendor communications for updates on patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-06T21:49:12.425Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a186052e29bf47b500b4216

Added to database: 05/28/2026, 15:33:38 UTC

Last enriched: 06/04/2026, 20:26:20 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 48

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses