Back to list

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

GitHub · GitHub · CVE-2026-44593

ID
CVE-2026-44593
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
critical

Summary

### Impact - Arbitrary File Write – An attacker can cause the server to write data to any file path it has write permission for. - Privilege Escalation / RCE – By overwriting critical binaries or scripts, the attacker can execute arbitrary code with the server’s privileges. ### Exploit The legacy router first retrieves a response from `legacyServer`, parses the incoming request path, and ultimately writes the data…

Product

go: github.com/esm-dev/esm.sh

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories