Skip to main content
CVE-2026-142590VulnerabilityPublished

mailcatcher · Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix

Affects mailcatcherSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-142590· Medium 4.8

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

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewmailcatcherpkg:brew/mailcatcherOther threatsAffected
  • >=0.8.1
Fixed in–
RubyGemsrackpkg:gem/rackOther threatsAffected
  • <2.2.26
Fixed in
  • 2.2.26
RubyGemsrackpkg:gem/rackOther threatsAffected
  • 3.1.16 – 3.1.23
  • >=3.1.16 <3.1.24
8 affected builds
Fixed in
  • 3.1.24
RubyGemsrackpkg:gem/rackOther threatsAffected
  • 3.2.0 – 3.2.8
  • >=3.2.0 <3.2.9
9 affected builds
Fixed in
  • 3.2.9

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

Community reviews

Loading reviews…