8.7
HIGH CVSS 4.0
CVE-2026-13311
shell-quote parse() is quadratic in token count, enabling denial of service
Description

shell-quote prior to 1.8.5 finalizes parsed tokens in parse() using Array.prototype.concat as a reduce accumulator, which reallocates and copies the entire growing array on every iteration. As a result parse() runs in O(n^2) time relative to the number of input tokens. An attacker who can supply an attacker-controlled string to any code path that calls parse() (no shell metacharacters are required; plain space-separated words suffice) can block the single-threaded Node.js event loop for an extended period with a small input, resulting in a denial of service. There is no code execution or data disclosure; impact is to availability only. Fixed in 1.8.5.

INFO

Published Date :

June 25, 2026, 4:48 a.m.

Last Modified :

June 25, 2026, 4:48 a.m.

Remotely Exploit :

Yes !

Source :

harborist
Affected Products

The following products are affected by CVE-2026-13311 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 7ffcee3d-2c14-4c3e-b844-86c6a321a158
CVSS 4.0 HIGH 7ffcee3d-2c14-4c3e-b844-86c6a321a158
CVSS 4.0 HIGH 7ffcee3d-2c14-4c3e-b844-86c6a321a158
Solution
Update shell-quote to version 1.8.5 or later to address denial of service vulnerability.
  • Update shell-quote to version 1.8.5.
  • Apply patches if updating is not immediately possible.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-13311 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.