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% 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
- 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
- https://github.com/rack/rack/security/advisories/GHSA-frgv-948x-h96g
- https://github.com/rack/rack/commit/770241c043cb9f2d4bb9ef5f55091c0e019264d1
- https://github.com/rack/rack/commit/95cf65878060577f49574190db92a807053fc08b
- https://github.com/rack/rack/commit/a08cec232d5ba547ad4d646bba139c96a57706b8
- https://github.com/rack/rack/releases/tag/v2.2.26
- https://github.com/rack/rack/releases/tag/v3.1.24
- https://github.com/rack/rack/releases/tag/v3.2.9
- https://github.com/advisories/GHSA-frgv-948x-h96g
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
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142590