Skip to main content
EPSS 0.9%top 42%

CVE-2026-73414: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in ericcornelissen shescape

0
Critical
VulnerabilityCVE-2026-73414cvecve-2026-73414cwe-78cwe-150
Published: 08/12/2026 (08/12/2026, 19:42:55 UTC)
Source: CVE Database V5
Vendor/Project: ericcornelissen
Product: shescape

Description

Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/win/cmd.js does not escape `(` and `)` when applications use the escape or escapeAll APIs on Windows with shell set to cmd.exe, or with shell set to true when CMD is the default. An attacker-controlled argument can break out of a parenthesized CMD construct and inject shell syntax depending on the original command, resulting in arbitrary command execution. This issue is fixed in versions 2.1.14 and 3.0.1.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

ericcornelissen

shescape

Affected versions
<2.1.14>=3.0.0 <3.0.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 20:12:18 UTC

Technical Analysis

Shescape is a shell escape library for JavaScript. In versions before 2.1.14 and 3.0.1, the getEscapeFunction in src/internal/win/cmd.js fails to escape the characters '(' and ')' when the shell is set to cmd.exe or true (defaulting to CMD). This improper neutralization of special elements (CWE-78) enables an attacker-controlled argument to break out of parenthesized CMD constructs and inject arbitrary shell syntax, leading to command execution. The vulnerability is addressed in versions 2.1.14 and 3.0.1.

Potential Impact

An attacker can achieve arbitrary command execution on Windows systems running vulnerable versions of shescape by injecting shell commands through specially crafted input. This can lead to full system compromise depending on the privileges of the affected process.

Mitigation Recommendations

This vulnerability is fixed in shescape versions 2.1.14 and 3.0.1. Users should upgrade to one of these versions or later to remediate the issue. No official patch or temporary workaround is indicated beyond upgrading.

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-08-12T14:32:11.795Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a7cd127bf8831d53911d115

Added to database: 08/12/2026, 20:01:43 UTC

Last enriched: 08/12/2026, 20:12:18 UTC

Last updated: 09/25/2026, 19:09:18 UTC

Views: 67

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