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
- 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.
Affected software
| Software | Affected versions |
|---|---|
qsnpm · osv:npm:qs |
|
About qs
- Weekly downloads (npm)
- 262,943,056npm, 15 Nov 2026
Vulnerabilities in qs
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-82417qs: Denial of Service via Attacker Controlled isBufferMedium 5.3 2 Sept 2026
- CVE-2026-8723qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is setMedium 5.3 22 May 2026
- CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of serviceLow 3.7 12 Feb 2026
- CVE-2025-15284qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustionMedium 3.7 30 Dec 2025
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-82562
- GitHub Advisory Database https://github.com/advisories/GHSA-x5fp-wj9c-mxmx