{"id":"CVE-2026-44593","published":"2026-05-28T14:44:20Z","modified":"2026-06-02T15:01:05Z","title":"esm.sh: Legacy Route Path Traversal Can Lead to RCE","vendor":"esm-dev","product":"esm.sh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.38823,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-3636-h3vx-6465","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":7.76},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"esm-dev","affectedVersions":[{"vendor":"esm-dev","product":"esm.sh","versions":["<= 137"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-02T15:00:40.289524Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/esm-dev/esm.sh","vulnerableRanges":["<0.0.0-20260508100112-1960055e1d53"],"patched":["0.0.0-20260508100112-1960055e1d53"],"from":["GHSA-3636-h3vx-6465","GO-2026-5071"],"provenance":"source"}],"summary":{"text":"The esm.sh no-build CDN has a path traversal flaw in its legacy router (in version 137 and earlier), where request path components are concatenated without sanitization to form a storage key that is passed to buildStorage.Put. An unauthenticated remote attacker with network access can craft a request containing relative path segments, requiring no user interaction or special configuration, to write files to arbitrary locations on the server's file system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:27Z"},"euvd":{"id":"EUVD-2026-32910","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-65025","published":"2025-11-19","fixed":"0.0.0-20251117232647-9d77b88c3207","kev":false},{"cve":"CVE-2025-65026","published":"2025-11-19","fixed":"0.0.0-20251118065157-87d2f6497574","kev":false},{"cve":"CVE-2026-23644","published":"2026-01-18","fixed":"0.0.0-20260116051925-c62ab83c589e","kev":false,"link":{"from":"CVE-2026-23644","to":"CVE-2026-44593","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/esm-dev/esm.sh","fromFixed":"0.0.0-20260116051925-c62ab83c589e","toFixed":"0.0.0-20260508100112-1960055e1d53","daysApart":130}]}},{"cve":"CVE-2026-44593","published":"2026-05-28","fixed":"0.0.0-20260508100112-1960055e1d53","kev":false},{"cve":"CVE-2025-59342","published":"2025-09-17","fixed":"136.1","kev":false}],"package":"Go:github.com/esm-dev/esm.sh"}}