{"answers":{"affected":"5 open source packages ship an affected version, including github.com/esm-dev/esm.sh. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-23644 in the wild and no public exploit code.","fix":"Upgrade github.com/esm-dev/esm.sh to 0.0.0-20260116051925-c62ab83c589e or later.","what":"CVE-2026-23644 is a high-severity path traversal vulnerability in esm-dev esm.sh, published on 18 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-23644 and fix it if it is affected.\n\nWhat it is: CVE-2026-23644 is a high-severity path traversal vulnerability in esm-dev esm.sh, published on 18 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-23644 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/esm-dev/esm.sh (Go): affected all versions; fixed in 0.0.0-20260116051925-c62ab83c589e\n- github.com/esm-dev/esm.sh (Go): affected all versions; fixed in 0.0.0-20260116051925-c62ab83c589e\n- github.com/esm-dev/esm.sh (Go): affected all versions; fixed in 0.0.0-20260116051925-c62ab83c589e\n- github.com/esm-dev/esm.sh (Go): affected from 0.0.1 up to 136; no fix listed\n- github.com/esm-dev/esm.sh (Go): affected from 0.0.1 up to 136; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-23644/ (Markdown: https://insights.sbomify.com/CVE-2026-23644/index.md)","id":"CVE-2026-23644","markdown":"https://insights.sbomify.com/CVE-2026-23644/index.md","name":"CVE-2026-23644","record":{"aliases":["GHSA-2657-3c98-63jq","GO-2026-4332"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"esm.sh CDN","requires_auth":"none","summary":"Attackers can write arbitrary files via malicious packages due to path traversal in esm.sh, requiring a patch to prevent unauthorized file modifications.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"esm.sh","vendor":"esm"}],"cvss":{"score":7.7,"severity":"high","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"esm.sh has path traversal in `extractPackageTarball` that enables file writes from malicious packages","id":"CVE-2026-23644","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":4,"next":{"headline":"SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload","id":"CVE-2026-23645"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260116051925-c62ab83c589e"],"introduced":["0"],"last_affected":[],"package":"github.com/esm-dev/esm.sh","purl":null,"source":"GHSA-2657-3c98-63jq"},{"ecosystem":"Go","fixed":["0.0.0-20260116051925-c62ab83c589e"],"introduced":["0"],"last_affected":[],"package":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","source":"GHSA-2657-3c98-63jq"},{"ecosystem":"Go","fixed":["0.0.0-20260116051925-c62ab83c589e"],"introduced":["0"],"last_affected":[],"package":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","source":"GO-2026-4332"},{"ecosystem":"Go","fixed":[],"introduced":["0.0.1"],"last_affected":["136"],"package":"github.com/esm-dev/esm.sh","purl":null,"source":"GHSA-2657-3c98-63jq"},{"ecosystem":"Go","fixed":[],"introduced":["0.0.1"],"last_affected":["136"],"package":"github.com/esm-dev/esm.sh","purl":"pkg:golang/github.com/esm-dev/esm.sh","source":"GHSA-2657-3c98-63jq"}],"prev":{"headline":"CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting","id":"CVE-2026-23643"},"products":["esm.sh"],"published":"2026-01-18","related":[{"cvss_score":8.7,"headline":"esm.sh is vulnerable to full-response SSRF","id":"CVE-2025-50180","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.6,"headline":"esm.sh has SSRF localhost/private-network bypass in `/http(s)` module route","id":"CVE-2026-27730","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.2,"headline":"esm.sh CDN service has arbitrary file write via tarslip","id":"CVE-2025-65025","kev_date_added":null,"published":"2025-11-19"},{"cvss_score":6.1,"headline":"esm.sh CDN service has JS Template Literal Injection in CSS-to-JavaScript","id":"CVE-2025-65026","kev_date_added":null,"published":"2025-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-20","vendors":["esm-dev"]},"summary":"Attackers can write arbitrary files via malicious packages due to path traversal in esm.sh, requiring a patch to prevent unauthorized file modifications.","url":"https://insights.sbomify.com/CVE-2026-23644/"}