PT-2026-166334
CVE-2026-142594
·
Published
2026-12-02
·
Updated
2026-12-03
Description by
CVSS 3.1
3.7
LowMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Rack versions prior to 2.2.26
Rack versions prior to 3.1.24
Rack versions prior to 3.2.9
Description
The
Rack::Multipart::Parser.parse boundary function incorrectly identifies the multipart boundary by searching for boundary= as a substring anywhere within the Content-Type header rather than parsing named parameters. This leads to several issues: it may accept boundary= located inside another parameter's value, truncate quoted boundary values at delimiters such as commas or semicolons, preserve surrounding whitespace, and fail to process quoted-pair escapes. Consequently, a conforming intermediary (such as a web application firewall or reverse proxy) may identify a different boundary or find none at all, while Rack parses the attacker-controlled multipart parts. This discrepancy allows form fields or file uploads to bypass security inspection by the intermediary. Exploitation requires an intermediary that uses a conforming parser to inspect multipart bodies.Recommendations
Update Rack to version 2.2.26 or later.
Update Rack to version 3.1.24 or later.
Update Rack to version 3.2.9 or later.
At the reverse proxy, reject multipart requests whose
Content-Type does not contain exactly one well-formed boundary parameter, and reject boundary values containing , or ;. Found an issue in the description? Have something to add? Feel free to write us 👾