CVE 8.7 HIGH

esm.sh: Legacy Route Path Traversal Can Lead to RCE_CVE-2026-44593

8.7 / 10
HIGH
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

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.

AI Analysis

Legacy Route Path Traversal vulnerability allowing attackers to write data to arbitrary server locations

Basic Information

ID CVE-2026-44593
Source GitHub_M
Published May 28, 2026 at 14:44

Affected Product

Vendor esm-dev
Product esm.sh
Version <= 137
Affected Versions esm-dev esm.sh <= 137

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor esm-dev
Product esm.sh
Version <= 137

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.