mailcatcher · Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix
Affects mailcatcherSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.8 Medium · fixed in 2.2.26 : update mailcatcher when convenient.
Data as of 4 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- 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 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 |
|---|---|---|
Homebrewmailcatcherpkg:brew/mailcatcherOther 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 'Content-ID' header value is unfolded similarly to 'Content-Type' and 'Content-Disposition' before use as a part name (for versions 3.1.16 and later, and 3.2). For Rack 2.2, update to versions where quoted-value and 'Content-Type' patterns no longer match across line breaks, aligning with Rack 3.x behavior. Additionally, sanitize or reject carriage return and line feed characters in parameter names and content types before reusing them in response headers, logs, or other protocol contexts.
Description
An incomplete fix in Rack's multipart parser allows raw carriage return and line feed (CRLF) characters to be preserved in parameter names derived from multipart part headers. This affects Rack versions 2.2 up to 2.2.25 and 3.1.16 and later, including 3.2. An attacker can inject CRLF into parameter names via crafted multipart requests, potentially leading to header injection, response splitting, or log forgery if the application reuses these parameter names in HTTP headers or logs.
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)