Symlink Vulnerability in zx CLI Tool
Key Information:
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- No: Needs local access
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory β2Why it's rated "Monitor"
- Its CVSS severity is medium (5.6).
What is CVE-2025-13437?
A security flaw in the Google zx CLI tool arises when executing commands with the --prefer-local= option. This action can create a symbolic link pointing to the node_modules directory of a specified path. However, a logic error in the code causes the cleanup routine to mistakenly delete the target directory instead of the symlink, potentially resulting in the loss of entire node_modules from an external directory. This vulnerability highlights the risks associated with improper file handling in CLI tools.
Affected Version(s)
zx 8.8.4
References
More Google Vulnerabilities
Improper Input Validation in Google Chrome Affects Multiple Versions
Use After Free Vulnerability in Google Chrome on Android
Use After Free Vulnerability in Google Chrome for Android
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction