Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-49402: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in denoland deno

0
High
VulnerabilityCVE-2026-49402cvecve-2026-49402cwe-78
Published: 06/23/2026 (06/23/2026, 17:20:50 UTC)
Source: CVE Database V5
Vendor/Project: denoland
Product: deno

Description

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.10, Deno's node:child_process implementation provided an escapeShellArg() helper used when callers passed shell: true to spawn / spawnSync / exec and friends. On Windows, the helper failed to quote arguments that contained cmd.exe metacharacters and did not neutralize % (which cmd.exe expands even inside double-quoted strings). An attacker who controlled any portion of an argument passed to such a call could inject arbitrary additional commands into the spawned cmd.exe invocation. This vulnerability is fixed in 2.7.10.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
denoland/deno
pkg:github/denoland/deno
Affected versions
<2.7.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/30/2026, 23:13:27 UTC

Technical Analysis

Deno, a runtime for JavaScript, TypeScript, and WebAssembly, had a vulnerability (CVE-2026-49402) in its node:child_process module before version 2.7.10. The escapeShellArg() helper function failed to properly escape shell arguments on Windows, specifically not quoting cmd.exe metacharacters and not neutralizing the % character, which cmd.exe expands even inside double quotes. This improper neutralization of special elements (CWE-78) allows an attacker controlling any part of an argument passed to spawn, spawnSync, exec, or similar functions with shell: true to inject arbitrary commands into the cmd.exe invocation. The vulnerability is addressed in Deno 2.7.10.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary commands on the underlying Windows system via crafted arguments to child process calls with shell: true. This can lead to full compromise of confidentiality, integrity, and availability of the affected system. The CVSS v3.1 base score is 8.1 (High), reflecting network attack vector, high impact on confidentiality, integrity, and availability, and requiring no privileges or user interaction.

Mitigation Recommendations

Upgrade Deno to version 2.7.10 or later where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid passing untrusted input to child process functions with shell: true on Windows.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-29T19:08:01.257Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3ac4efeed863c81e618231

Added to database: 06/23/2026, 17:39:59 UTC

Last enriched: 06/30/2026, 23:13:27 UTC

Last updated: 08/04/2026, 12:46:13 UTC

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses