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.
CVE-2026-13311
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 28.0%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (1)
Auto-updated Jun 25, 2026Quadratic-complexity Denial of Service in `parse()` (CWE-407) · Advisory · ljharb/shell-quote · GitHub
https://github.com/ljharb/shell-quote/security/advisories/GHSA-395f-4hp3-45gvWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 22× in last 7d / 40× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 00:49 UTCEG score recompute
- 2026-07-06 13:31 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:14 UTCEG score recompute
- 2026-07-05 14:56 UTCEG score recompute
- 2026-07-05 03:38 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 16:20 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 05:01 UTCEG score recompute
- 2026-07-03 17:35 UTCEG score recompute
- 2026-07-03 06:18 UTCEG score recompute
- 2026-07-02 18:58 UTCEG score recompute
- 2026-07-02 07:40 UTCEG score recompute
- 2026-07-01 20:22 UTCEG score recompute
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 09:05 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:47 UTCEG score recompute
- 2026-06-30 10:29 UTCEG score recompute
- 2026-06-29 23:12 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 11:56 UTCEG score recompute
Show 15 moreShow fewer
- 2026-06-29 00:39 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 13:22 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 02:04 UTCEG score recompute
- 2026-06-27 14:47 UTCEG score recompute
- 2026-06-27 03:29 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 15:59 UTCEG score recompute
- 2026-06-26 04:42 UTCEG score recompute
- 2026-06-25 17:23 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 06:06 UTCEG score recompute
- 2026-06-25 06:05 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-13311?
When was CVE-2026-13311 disclosed?
Is CVE-2026-13311 actively exploited?
What is the CVSS score of CVE-2026-13311?
How do I remediate CVE-2026-13311?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-13311
Is Your Infrastructure Affected by CVE-2026-13311?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.