CVE-2025-61787
Deno is Vulnerable to Command Injection on Windows During Batch File Execution
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p deno --precise 2.5.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| deno | crates.io | All versions | 2.5.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-77
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/denoland/deno/security/advisories/GHSA-m2gf-x3f6-8hq3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-61787ADVISORY
- https://github.com/denoland/deno/pull/30818WEB
- https://github.com/denoland/deno/commit/8a0990ccd37bafd8768176ca64b906ba2da2d822WEB
- https://github.com/denoland/denoPACKAGE
- https://github.com/denoland/deno/releases/tag/v2.2.15WEB
- https://github.com/denoland/deno/releases/tag/v2.5.2WEB
Frequently Asked Questions
- What is CVE-2025-61787?
- Deno is Vulnerable to Command Injection on Windows During Batch File Execution This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2025-61787?
- CVE-2025-61787 affects deno. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61787 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-22863CRITICAL
Deno node:crypto doesn't finalize cipher
- CVE-2022-24783CRITICAL
Sandbox bypass leading to arbitrary code execution in Deno
- CVE-2025-24015HIGH
Deno's AES GCM authentication tags are not verified
- CVE-2024-27934HIGH
*const c_void / ExternalPointer unsoundness leading to use-after-free
- CVE-2026-32260HIGH
Deno vulnerable to command Injection via incomplete shell metacharacter blocklist in node:child_process
- CVE-2024-27933HIGH
Deno arbitrary file descriptor close via `op_node_ipc_pipe()` leading to permission prompt bypass
- CVE-2026-49402HIGH
Deno: Command Injection via spawnSync & spawn on Windows
- CVE-2025-48935MEDIUM
Deno has --allow-read / --allow-write permission bypass in `node:sqlite`
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies