CVE-2026-13311
Last modified
CVE-2026-13311 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shell-Quote Project | Shell-Quote | < 1.9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-13311?
How severe is CVE-2026-13311?
How do I fix CVE-2026-13311?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-13305Autel MaxiCharger AC Elite Home Software Update Improper Ver…6.4
- CVE-2026-13306Autel MaxiCharger AC Elite Home USB Authentication Bypass Vu…4.3
- CVE-2026-13307Autel MaxiCharger AC Elite Home USB Heap-based Buffer Overfl…6.8
- CVE-2026-13308Autel MaxiCharger AC Elite Home WebSockets Integer Underflow…8.1
- CVE-2026-13309Autel MaxiCharger AC Elite Home NFC Stack-based Buffer Overf…6.8
- CVE-2026-1331MeetingHub developed by HAMASTAR Technology has an Arbitrary…9.8
- CVE-2026-13314Malicious HTML content could be injected into the content re…2
- CVE-2026-13316A flaw has been found in foreman when HTTP parameters are mo…4.4
- CVE-2026-13318A server-side request forgery (SSRF) flaw was found in KubeV…6.4
- CVE-2026-1332MeetingHub developed by HAMASTAR Technology has a Missing Au…6.9
- CVE-2026-13320GitLab has remediated an issue in GitLab CE/EE affecting all…5.4
- CVE-2026-13321The BIND resolver accepts validly-signed NSEC records where …8.6
Are you affected by CVE-2026-13311?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
