CVE-2026-23644
HIGH 7.7CVSS 4.0esm.sh has a path traversal in extractPackageTarball enables file writes from malicious packages
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.
- Published
- 18 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-2657-3c98-63jqGO-2026-4332
- Sources
- NVDJSONOSV GHSA-2657-3c98-63jqJSONOSV GO-2026-4332JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | esm | esm.shcpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:* |
< 136 | 136 |
| OSV | Go | github.com/esm-dev/esm.sh | >= 0.0.1, <= 136 | |
| OSV | Go | github.com/esm-dev/esm.sh | < 0.0.0-20260116051925-c62ab83c589e | 0.0.0-20260116051925-c62ab83c589e |
References
- https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16 · Patch, WEB, FIX
- https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093 · Patch, WEB, FIX
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq · Vendor Advisory, WEB, ADVISORY
- https://pkg.go.dev/vuln/GO-2025-4138 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23644 · ADVISORY
- https://github.com/esm-dev/esm.sh · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4332 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 18 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Jan 2026)