All vulnerabilities

npm

CVE-2026-82562

qs array-limit bypass via bracket-key comma parsing

Severity
Medium 3.7
Published
2 Sept 2026
Last changed
10 Sept 2026
Added to UpHeron
22 Oct 2026
Fixed in
6.16.0
Exploit chance
0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Also known as
GHSA-x5fp-wj9c-mxmx
Sources
OSV.dev and GitHub

Description

qs v6.15.3 allows bracket-key input to bypass arrayLimit and throwOnLimitExceeded when comma: true. The input a[]=1,2,3,4 succeeds with arrayLimit: 3, while the equivalent plain-key input is rejected.

Affected version tested:

parseArrayValue() enforces the comma limit only for flat values. The a[] form is marked non-flat, so its comma-separated value is wrapped after parsing and the inner array is not checked. A single parameter can therefore materialize arbitrarily large arrays.

An attacker who can supply a query string or form body can bypass configured array limits and force excessive memory allocation, causing denial of service. The limit must be applied after comma splitting and before the resulting array is wrapped.

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
qsnpm · osv:npm:qs
  • From 6.14.2 before 6.16.0

About qs

Weekly downloads (npm)
262,943,056npm, 15 Nov 2026

References