{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-13437","published":"2025-11-20T17:15:49.453000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Deferred","cvss":{"version":"4.0","score":5.6,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:H/SA:H/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cve-coordination@google.com","primary":false},"auth":true,"cwes":["CWE-706"],"cpes":[],"cpes_truncated":false,"vendors":["google"],"products":["google/zx"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0013,"percentile":0.0124,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w87r-vg9q-crqm","ecosystem":"npm","name":"zx","purl":"pkg:npm/zx","ranges":[{"introduced":"0","fixed":"8.8.5"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":34,"links":{"html_es":"/es/cve/CVE-2025-13437/","html_en":"/en/cve/CVE-2025-13437/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-13437","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-13437"},"untrusted":{"vendor_name":"Google","product_name":"zx","desc_en":"When zx is invoked with --prefer-local=<path>, the CLI creates a symlink named ./node_modules pointing to <path>/node_modules. Due to a logic error in src/cli.ts (linkNodeModules / cleanup), the function returns the target path instead of the alias (symlink path). The later cleanup routine removes what it received, which deletes the target directory itself. Result: zx can delete an external <path>/node_modules outside the current working directory.","affected":[{"untrusted_vendor":"Google","untrusted_product":"zx","versions":[]}],"references":[{"url":"https://github.com/google/zx/issues/1348","tags":[]}]}}