{"schema_version":"1.9.0","id":"CVE-2026-23644","published":"2026-01-18T22:49:29.676Z","modified":"2026-08-12T03:51:35.620470959Z","aliases":["GHSA-2657-3c98-63jq","GO-2026-4332"],"related":["SUSE-SU-2026:0757-1","openSUSE-SU-2026:21483-1"],"summary":"esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages","details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/esm-dev/esm.sh","events":[{"introduced":"0"},{"fixed":"1ad31b6352bb0a064ece812f6f360e4850e16051"},{"fixed":"9d77b88c320733ff6689d938d85d246a3af9af16"},{"fixed":"c62ab83c589e7b421a0e1376d2a00a4e48161093"}],"database_specific":{"cpe":"cpe:2.3:a:esm:esm.sh:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"136"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v136_1","v136","v135_1","v135","v134","v133","v132","v131","v130","v129","v128","v127","v126","v125","v124","v123","v122","v121","v120","v119","v117","v116","v115","v114","v113","v112","v111","v110","v109","v108","v107","v106","v105","v104","v103","v102","v101","v100","v99","v98","v97","v96","v95","v94","v93","v92","v91","v90","v89","v88","v87","v86","v85","v84","v83","v82","v81","v80","v79","v78","v77","v76","v75","v74","v73","v72","v71","v70","v69","v68","v67","v66","v65","v64","v63","v62","v61","v60","v59","v57","v56","v55","v53","v52","v51","v50","v49","v47","v46","v45","v44","v43","v41","v40","v39","v38","v37","v35","v34"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23644.json"}}],"references":[{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-4138"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23644.json"},{"type":"ADVISORY","url":"https://github.com/esm-dev/esm.sh/security/advisories/GHSA-2657-3c98-63jq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23644"},{"type":"FIX","url":"https://github.com/esm-dev/esm.sh/commit/9d77b88c320733ff6689d938d85d246a3af9af16"},{"type":"FIX","url":"https://github.com/esm-dev/esm.sh/commit/c62ab83c589e7b421a0e1376d2a00a4e48161093"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23644.json","unresolved_ranges":[{"extracted_events":[{"fixed":"0.0.0-20260116051925-c62ab83c589e"}],"source":"AFFECTED_FIELD"}]},"severity":[{"type":"CVSS_V4","score":"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"}]}