Security mailing lists by PureSourceCode

CVE-2025-61787

HIGH 8.1CVSS 3.1

Deno is Vulnerable to Command Injection on Windows During Batch File Execution

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
8 Oct 2025
Last modified
8 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-77
Also known as
GHSA-m2gf-x3f6-8hq3
Sources
NVDJSONOSV GHSA-m2gf-x3f6-8hq3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD deno deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
<= 2.2.15
NVD deno deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.5.3 2.5.3
OSV crates.io deno < 2.5.2 2.5.2

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 8 Oct 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.