CVE-2025-61787
Last modified
CVE-2025-61787 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. EPSS estimates a 2.11% chance of exploitation in the next 30 days.
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Versions prior to 2.5.3 and 2.2.15 are vulnerable to Command Line Injection attacks on Windows when batch files are executed. In Windows, ``CreateProcess()`` always implicitly spawns ``cmd.exe`` if a batch file (.bat, .cmd, etc.) is being executed even if the application does not specify it via the command line. This makes Deno vulnerable to a command injection attack on Windows. Versions 2.5.3 and 2.2.15 fix the issue.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | <= 2.2.15 |
| Deno | Deno | >= 2.3.0, < 2.5.3 |
References
- https://github.com/denoland/deno/pull/30818Issue Tracking, Patch
- https://github.com/denoland/deno/releases/tag/v2.5.3Release Notes
- https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-61787?
How severe is CVE-2025-61787?
How do I fix CVE-2025-61787?
Are you affected by CVE-2025-61787?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
