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…

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/23/2026, 17:54:16 UTC

Technical Analysis

Deno, a runtime for JavaScript, TypeScript, and WebAssembly, had a vulnerability (CVE-2026-49402) in versions before 2.7.10 related to improper neutralization of special elements in OS commands (CWE-78). Specifically, the escapeShellArg() helper used in node:child_process when shell: true was set did not correctly quote arguments on Windows, failing to neutralize cmd.exe metacharacters and the % character. This flaw allows an attacker who controls any part of the argument passed to spawn/spawnSync/exec to inject additional arbitrary commands executed by cmd.exe. The issue is resolved 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, indicating high severity.

Mitigation Recommendations

Upgrade to Deno version 2.7.10 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Users should avoid using shell: true with untrusted input until patched.

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/23/2026, 17:54:16 UTC

Last updated: 06/23/2026, 18:09:39 UTC

Views: 3

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