Inefficient Algorithmic Complexity in shell-quote - CVE-2026-13311

 

Inefficient Algorithmic Complexity in shell-quote - CVE-2026-13311

Published: July 28, 2026


Vulnerability identifier: #VU139892
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-13311
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ljharb
Affected software:
shell-quote

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient algorithmic complexity in the parse() function when parsing attacker-supplied strings. A remote attacker can submit a specially crafted input string to cause a denial of service.

The issue blocks the single-threaded Node.js event loop, and plain space-separated words are sufficient to trigger the vulnerable behavior.


How to mitigate CVE-2026-13311

Install security update from vendor's website.

Sources