CVE-2025-61787 | Deno is Vulnerable to Command Injection on Windows During Batch File Execution

Exp

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.

Published: 2025-10-08 Last update: 2025-10-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-61787 is rated High Exploit Risk (77.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.11%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.93% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-61787

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-61787

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.18% 2.11% +1.93%
2 2026-05-22 0.10% 0.18% +0.08%
3 2026-03-06 0.10%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-61787

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.2 5.9 [email protected]

Weakness enumeration for CVE-2025-61787

GitHub Security Advisory for CVE-2025-61787

GHSA-m2gf-x3f6-8hq3 · Severity: high · Ecosystem: rust — Deno is Vulnerable to Command Injection on Windows During Batch File Execution

OS Trackers for CVE-2025-61787

vendor priority summary link
alpine CVE-2025-61787: 1 source package rows (deno); 15 state rows across 3 repos (3.22-community, 3.23-community, edge-community); fixed 0, open 15. https://security.alpinelinux.org/vuln/CVE-2025-61787

Affected software / configurations for CVE-2025-61787

Vendor Product Version Raw CPE
deno deno <= 2.2.15 cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
deno deno >= 2.3.0, < 2.5.3 cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*

References for CVE-2025-61787

cvelogic Threat Intelligence