Home / Google / zx / CVE-2025-13437
CVE-2025-13437: is it exploited, and which versions of Google zx are affected and fixed?
CVE-2025-13437 is an incorrectly resolved name or reference vulnerability in Google zx. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: zx before 8.8.5 (GitHub advisory GHSA-w87r-vg9q-crqm). Fixed in 8.8.5 (GitHub advisory GHSA-w87r-vg9q-crqm). Severity: Medium (5.6, CVSS 4.0, from Google).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-13437?
Arbitrary node_modules Directory Deletion in Google zx
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.
From the CVE record by Google, last updated November 20, 2025, 16:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zx | 8.8.4 |
As the CVE record by Google states it, last updated November 20, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | zx | < 8.8.5 | 8.8.5 | GHSA-w87r-vg9q-crqm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 21, 2025. Summary: zx Uses Incorrectly-Resolved Name or Reference.
How severe is CVE-2025-13437?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.6 | CVSS 4.0 | 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 |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-13437 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, November 20, 2025)
- EPSS
- 0.09% probability of exploitation activity in the next 30 days, percentile 0.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-706 Use of Incorrectly-Resolved Name or Reference
Where are the vendor advisories and references?
Who found and reported it?
- Ali Firas (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 19, 2025
- Published
- November 20, 2025, 16:25 UTC
- CVE record updated
- November 20, 2025, 16:49 UTC by Google
- NVD
- Deferred, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect zx?
- Feb 3, 2025CVE-2025-24959 google zx: code injection (remote code execution)
Questions about CVE-2025-13437
Is CVE-2025-13437 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.09% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Google zx are affected by CVE-2025-13437?
zx before 8.8.5, per the GitHub advisory GHSA-w87r-vg9q-crqm. The tables above give every range the sources list.
Which version fixes CVE-2025-13437?
8.8.5, per the GitHub advisory GHSA-w87r-vg9q-crqm. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-13437?
Medium (5.6, CVSS 4.0, from Google). The severity table above shows each score with its source.
Where is the official record of CVE-2025-13437?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.