CVE-2026-23644 Details
Description
esm.sh is a no-build content delivery network (CDN) for web development. Prior to Go pseeudoversion 0.0.0-20260116051925-c62ab83c589e, the software has a path traversal vulnerability due to an incomplete fix. `path.Clean` normalizes a path but does not prevent absolute paths in a malicious tar file. Commit https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16, corresponding to pseudoversion 0.0.0-20260116051925-c62ab83c589e, fixes this issue.
A path traversal vulnerability has been identified in esm.sh, a no-build content delivery network (CDN) for web development. This vulnerability exists in versions prior to Go pseudoversion 0.0.0-20260116051925-c62ab83c589e, and allows for arbitrary file writes from malicious packages. The issue arises because the `path.Clean` function normalizes file paths but does not prevent absolute paths from being exploited in a harmful tar file. As a result, files can be written outside of the intended directory, potentially overwriting important configuration files or cached data. In some cases, this could lead to server-side code execution, such as writing to cron files, although it's unclear if this is feasible with the default deployment configuration.
Users can update to esm.sh versions through Go pseudoversion 0.0.0-20260116051925-c62ab83c589e to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| esm esm.sh | < 136 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Jan 18, 2026 | New CVE Received | [email protected] |