Arbitrary Command Execution Vulnerability in zx 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 low (1).
What is CVE-2025-24959?
The zx tool, widely used for scripting, has a vulnerability that allows an attacker to manipulate environment variable values, potentially leading to arbitrary command execution. This occurs when applications process untrusted input through dotenv.stringify, making them susceptible to unexpected behavior if they rely on environment variables for critical security functions. Users are encouraged to upgrade to version 8.3.2 to address this issue. For those unable to upgrade, it is crucial to sanitize user-controlled values carefully, avoiding characters like double quotes, single quotes, and backticks, or to enforce strict validation on environment variables prior to use.
Affected Version(s)
zx >= 8.3.0, < 8.3.2
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