Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/esm-dev/esm.sh
  4. ›
  5. CVE-2026-23644

CVE-2026-23644: esm.sh has a path traversal in extractPackageTarball enables file writes from malicious packages

January 20, 2026 (updated February 27, 2026)

The commit does not actually fix the path traversal bug. path.Clean basically normalizes a path but does not prevent absolute paths in a malicious tar file.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-23644 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.0.1 up to 136

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/esm-dev/esm.sh/CVE-2026-23644.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.