travis · Rack: `Rack::QueryParser` separator pattern allocates ~48 bytes per space after `&`, allowing denial of service via
Affects travisSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 2.2.26 : update travis when convenient.
Data as of 4 Dec 2026, 20:30 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 2.2.26, 3.1.24, 3.2.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade rack to 2.2.26; rack to 3.1.24; rack to 3.2.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewtravispkg:brew/travisOther threats | Affected
| Fixed in– |
RubyGemsrackpkg:gem/rackOther threats | Affected
| Fixed in
|
RubyGemsrackpkg:gem/rackOther threats | Affected
| Fixed in
|
RubyGemsrackpkg:gem/rackOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update to a patched version of Rack where the separator is matched as a plain string and parameter names are split without quantified regex patterns. Additionally, lower the RACK_QUERY_PARSER_BYTESIZE_LIMIT environment variable to the maximum form body size your application requires to reduce potential memory allocation. At the reverse proxy level, reject requests containing unencoded space characters in query strings or urlencoded bodies to prevent exploitation.
Description
The Rack::QueryParser component in Rack versions 1.14.0 and later uses a regular expression to split query strings and form bodies that causes excessive memory allocation when parsing inputs with long runs of spaces or bracket characters. This behavior can lead to denial of service through memory exhaustion. The vulnerability affects any application that parses request parameters using Rack's default configuration. An unauthenticated attacker can exploit this by sending specially crafted query strings or urlencoded bodies containing many spaces or brackets, causing the process to allocate roughly 48 times the input size in memory. The issue is mitigated by patched Rack versions that avoid the problematic regex patterns and by limiting the maximum allowed input size.
References
- github.com/rack/rack/security/advisories/GHSA-f7cc-57h7-qrcg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142591 (opens in a new tab)
- github.com/rack/rack/commit/59fae908d13587922bb29a89c161441d4de0cab6 (opens in a new tab)
- github.com/rack/rack/commit/bc0ad07de8603e545fb07936c8d28b9e7ec29804 (opens in a new tab)
- github.com/rack/rack/commit/d895d94b88a3233eb0f2e59d3ddb9fc6a0b630ef (opens in a new tab)
- github.com/rack/rack (opens in a new tab)
- github.com/rack/rack/releases/tag/v2.2.26 (opens in a new tab)
- github.com/rack/rack/releases/tag/v3.1.24 (opens in a new tab)
- github.com/rack/rack/releases/tag/v3.2.9 (opens in a new tab)