Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix
Affects rackSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.8 Medium : upgrade to 2.2.26 when convenient.
Data as of 3 Dec 2026, 00:05 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|
- Patch
- Available – fixed in 2.2.26, 3.1.24, 3.2.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation 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 2 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 |
|---|---|---|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | 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 Rack to a patched version: 2.2.26 or later, 3.1.24 or later, or 3.2.9 or later. These versions properly unfold Content-ID headers and restrict patterns to exclude line breaks in quoted parameter values and Content-Type headers. Additionally, sanitize or reject carriage return and line feed characters in parameter names and content types before using them in HTTP response headers, logs, or other protocol contexts to prevent injection attacks.
Description
CVE-2026-142590 is a vulnerability in the Rack Ruby webserver interface where the multipart parser can preserve raw carriage return and line feed (CRLF) characters in parameter names derived from multipart part headers. This occurs due to incomplete fixes in certain Rack versions, allowing CRLF injection via the Content-ID header or quoted parameter values. An attacker can inject CRLF into parameter names in multipart requests, which may lead to HTTP header injection, response splitting, or log forgery depending on how the application uses these parameters.
References
- github.com/rack/rack/security/advisories/GHSA-frgv-948x-h96g (opens in a new tab)
- github.com/rack/rack/commit/770241c043cb9f2d4bb9ef5f55091c0e019264d1 (opens in a new tab)
- github.com/rack/rack/commit/95cf65878060577f49574190db92a807053fc08b (opens in a new tab)
- github.com/rack/rack/commit/a08cec232d5ba547ad4d646bba139c96a57706b8 (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)