Rack: `Rack::Multipart::Parser` preserves CRLF from multipart part headers in parsed parameter names (incomplete fix for CVE-2026-26962)
- CVE-2026-142590
- GHSA-frgv-948x-h96g
- EUVD-2026-141891
Description
Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser incompletely prevents carriage return and line feed characters from multipart part headers from reaching parsed values. In Rack 3.1.16 and later and Rack 3.2, folded Content-ID values can become parameter names when Content-Disposition is missing or exceeds CONTENT_DISPOSITION_MAX_BYTES because Content-ID is not unfolded. In Rack 2.2, quoted name or filename values and Content-Type values can match across line breaks. Applications that reuse these parameter names or uploaded-file content types in response headers, log lines, or other CRLF-delimited contexts may permit header injection, response splitting, or log forgery, while Rack itself does not write these values to those sinks. Rack 3.0 is affected. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
Text from the CVE.org record.
Recommendation
rack
- If you run 3.2.xupdate to 3.2.9 or laterPatch update: breaking changes are unlikelyrack 3.2.9 on its registry (opens in a new tab)
- If you run 3.1.xupdate to 3.1.24 or laterPatch update: breaking changes are unlikelyrack 3.1.24 on its registry (opens in a new tab)
- If you run a version before 2.2.26update to 2.2.26 or laterrack 2.2.26 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
rack
Affected versions Fixed in < 2.2.26 none stated >= 3.1.16, < 3.1.24 none stated >= 3.2.0, < 3.2.9 none stated rackRubyGems
Affected versions Fixed in from 3.2.0 to before 3.2.9 3.2.9 from 3.1.16 to before 3.1.24 3.1.24 before 2.2.26 2.2.26
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.