# CVE-2026-44593: esm.sh: Legacy Route Path Traversal Can Lead to RCE

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-12T22:22:39.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-3636-h3vx-6465, GO-2026-5071
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- esm-dev esm.sh: <= 137
- github.com/esm-dev/esm.sh (Go): before 0.0.0-20260508100112-1960055e1d53

## Every score

- GitHub_M: CVSS:4.0 8.7 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`
- GitHub: CVSS:4.0 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`

## References

- <https://github.com/esm-dev/esm.sh/security/advisories/GHSA-3636-h3vx-6465> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44593> (advisory)
- <https://github.com/esm-dev/esm.sh> (package)
- <https://github.com/esm-dev/esm.sh/releases/tag/v137_3> (web)

## Sources

- CVE List: [CVE-2026-44593](https://www.cve.org/CVERecord?id=CVE-2026-44593), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-3636-h3vx-6465](https://github.com/advisories/GHSA-3636-h3vx-6465), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5071](https://pkg.go.dev/vuln/GO-2026-5071), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44593](https://nvd.nist.gov/vuln/detail/CVE-2026-44593), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44593 · Whole record: https://cve.day/CVE-2026-44593.json · Rebuilt by cve.day 2026-11-25T22:59:22.924Z
