{"id":"CVE-2026-23644","state":"PUBLISHED","title":"esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages","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.","publishedAt":"2026-01-18T22:49:29.676Z","updatedAt":"2026-01-20T20:06:58.947Z","severity":{"score":7.7,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["esm-dev esm.sh"],"affected":[{"vendor":"esm-dev","product":"esm.sh","versions":[{"version":"< 0.0.0-20260116051925-c62ab83c589e","status":"affected"}]}],"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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23644.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23644","state":"PUBLISHED","datePublished":"2026-01-18T22:49:29.676Z","dateUpdated":"2026-01-20T20:06:58.947Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-14T16:08:37.484Z"},"containers":{"cna":{"title":"esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"esm-dev","product":"esm.sh","versions":[{"version":"< 0.0.0-20260116051925-c62ab83c589e","status":"affected"}]}],"references":[{"url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq","name":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16","name":"https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16","tags":["x_refsource_MISC"]},{"url":"https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093","name":"https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093","tags":["x_refsource_MISC"]},{"url":"https://pkg.go.dev/vuln/GO-2025-4138","name":"https://pkg.go.dev/vuln/GO-2025-4138","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-18T22:49:29.676Z"},"source":{"advisory":"GHSA-2657-3c98-63jq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-20T20:04:08.412888Z","id":"CVE-2026-23644","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-20T20:06:58.947Z"}}]}}}