Vulnerability in Ljharb Shell-quote

CVE-2026-13311

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…

EPSS: 0.004 (27.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-13311?
CVE-2026-13311 is a high-severity vulnerability in Ljharb Shell-quote, classified under Inefficient Algorithmic Complexity. CVSS score: 7.5/10. Published 2026-06-25.
How severe is CVE-2026-13311?
High severity. CVSS v3 base score is 7.5 out of 10.