{
  "id": "CVE-2026-23644",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-23644",
  "published_at": "2026-01-18T22:49:29.676Z",
  "title": "esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages",
  "vendor": "esm-dev",
  "product": "esm.sh",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "esm-dev",
        "product": "esm.sh",
        "ranges": [
          "\u003c 0.0.0-20260116051925-c62ab83c589e"
        ],
        "fixed_in": [
          "0.0.0-20260116051925-c62ab83c589e"
        ]
      }
    ],
    "upgrade": [
      "Upgrade esm.sh to 0.0.0-20260116051925-c62ab83c589e or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
