CVE Feed
4.8 Medium

Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)

CVE-2026-142590

Summary The fix for CVE-2026-26962 was incomplete. Rack::Multipart::Parser can still place a raw carriage return or line feed from a multipart part header into a parameter name in the application's params hash: In Rack 3.1.16+ and 3.2, the parser unfolds folded (obs-fold) Content-Type and Content-Disposition values but not Content-ID. When a part has no usable Content-Disposition header, the part's name is taken from Content-ID, so a folded Content-ID value yields a parameter name containing CRLF. In Rack 2.2, the quoted-string pattern used to extract header parameter values matches across line breaks, so a quoted name or filename containing CRLF is accepted as is, and a bare CR is accepted in a Content-Type value. In both cases this is the same weakness as CVE-2026-26962, reached through a header or pattern the earlier fix did not cover. Details Rack 3.1.16 and later, Rack 3.2 The fix for CVE-2026-26962 added an OBSUNFOLD substitution and applied it to the Content-Type and Content-Disposition values. The fallback branch that derives the part name from Content-ID was left unchanged: ruby contenttype = head[MULTIPARTCONTENTTYPE, 1] contenttype.gsub!(OBSUNFOLD, '\1') if contenttype…

Assessment

CVSS
4.8 (v3.1)
Severity
Medium
EPSS
0.00477% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
2 December 2026
Last updated
2 December 2026
Affected
rack · rack · rack
Weakness
CWE-93
Assigner
GitHub_M

CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-142590