8.7

CVE-2026-13311: shell-quote parse() is quadratic in token count, enabling denial of service

Analyzed
AliasesUBUNTU-CVE-2026-13311DEBIAN-CVE-2026-13311CGA-873j-cww7-jxrg
Published 25-06-2026Last modified 25-06-2026

Vulnerability summary

CVE-2026-13311 is a high (CVSS 8.7) Inefficient Algorithmic Complexity vulnerability in ljharb shell-quote. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 29.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.36%
0%100%
Low · -0.24 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 5

Timeline

  1. 25-06-2026
    PublishedVulnerability first disclosed.
  2. 25-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

11 scores · 7 sources · 2 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

Decrease -0.24 pp

From 0.60% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard24 products
  • arangodb-3.12< 3.12.9.4-r13
  • argo-workflows-ui-4.0< 4.0.11-r0
  • code-server< 4.130.0-r3
  • gemini-cli< 0.49.0-r7
  • gitlab-rails-ce-18.1< 18.1.6-r34
Wolfi2 products
  • argo-workflows-ui-4.0< 4.0.11-r0
  • code-server< 4.130.0-r3
Debian1 product
  • node-shell-quoteAll versions (No fix recorded) | < 1.7.4+~1.7.1-1+deb13u2 | < 1.9.0+~1.7.5-1
Ljharb1 product
Npm1 product
  • shell-quote< 1.9.0
Opensuse1 product
  • agama-web-ui&distro=openSUSE Tumbleweed< 23+75.1a877fb50-50.1
Shell-quote_project1 product
Ubuntu1 product
  • node-shell-quoteAll versions (No fix recorded)

8 vendors · 32 products

References

12 links
Show all 12 references