Skip to main content
CVE-2026-142590VulnerabilityPublished

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

Affects rackSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-142590· Medium 4.8

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

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
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 2 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
RubyGemsrackAffected
  • <2.2.26
Fixed in
  • 2.2.26
RubyGemsrackAffected
  • >=3.1.16 <3.1.24
Fixed in
  • 3.1.24
RubyGemsrackAffected
  • >=3.2.0 <3.2.9
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 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

Community reviews

Loading reviews…