# CVE-2026-23644: esm.sh has path traversal in \`extractPackageTarball\` that enables file writes from malicious packages

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 0.0.0-20260116051925-c62ab83c589e, 136 (CNA); fix release not confirmed
- Status: published
- Published: 2026-01-18 · Modified: 2026-01-20
- Aliases: GHSA-2657-3c98-63jq, GO-2026-4332
- Record: https://cvemate.com/vulnerability/CVE-2026-23644 · JSON: https://cvemate.com/vulnerability/CVE-2026-23644/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) 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
- EPSS: 0.56%, percentile 48.025%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- esm-dev esm.sh: \< 0.0.0-20260116051925-c62ab83c589e
- esm esm.sh: \< 136
- github.com/esm-dev esm.sh (Go): ≥ 0.0.1, ≤ 136 \| \< 0.0.0-20260116051925-c62ab83c589e

## References

- <https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq>
- <https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16>
- <https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093>
- <https://pkg.go.dev/vuln/GO-2025-4138>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23644>
- <https://github.com/esm-dev/esm.sh>
- <https://pkg.go.dev/vuln/GO-2026-4332>

---

Data as of 2026-12-05T18:17:22.955Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
