Home

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.

PUBLISHED Reserved 2026-05-06 | Published 2026-05-28 | Updated 2026-06-02 | Assigner GitHub_M




HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

<= 137
affected

References

github.com/...esm.sh/security/advisories/GHSA-3636-h3vx-6465 exploit

github.com/...esm.sh/security/advisories/GHSA-3636-h3vx-6465

cve.org (CVE-2026-44593)

nvd.nist.gov (CVE-2026-44593)

Download JSON