Denial of Service Vulnerability in Shell-Quote by Node.js Vendor
CVE-2026-13311

8.7HIGH

Key Information:

Vendor

Ljharb

Vendor
CVE Published:
25 June 2026

What is CVE-2026-13311?

The shell-quote library, prior to version 1.8.5, contains a vulnerability that allows an attacker to exploit the parse() function. This function improperly handles parsed tokens, causing significant performance degradation during execution. Specifically, it runs in O(n^2) time complexity based on the number of input tokens, allowing an attacker to input even minimal strings to block the Node.js event loop, thereby leading to a denial of service condition. This vulnerability does not facilitate code execution or data leakage; however, it significantly impacts service availability. The issue has been resolved in version 1.8.5.

Affected Version(s)

shell-quote 0 <= 1.8.4

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

bibu123456
Kayiz-PT
ljharb
.