Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser.parse_boundary locates boundary= as a substring anywhere in a Content-Type header instead of parsing named parameters consistently with Rack::MediaType.params, truncates quoted boundary values at delimiters, preserves surrounding whitespace, and does not correctly process quoted-pair escapes. A conforming intermediary can therefore find no boundary or a different boundary while Rack parses attacker-controlled multipart parts, allowing form fields or uploads to bypass web application firewall inspection. Exploitation requires an intermediary that inspects multipart bodies using a conforming parser, and Rack itself grants no capability beyond a well-formed request carrying the same body. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-436"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142594.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.2.26"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6cce362d027f437362eb1d2ae330e7e880e6a01d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c74dbad94cbe91c7fa6e68f89fad22578a6135e0"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e5045fef634b491f0ea25b0e8bbfb946f7cbadd4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.2.26",
"range": [
{
"fixed": "320778d0cdd17d8791d986626e2d09084d32c84d"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v3.1.24",
"range": [
{
"fixed": "f1ebc3d8c3eea89908b931db76b131fea9bda52b"
}
],
"source": "REFERENCES_TAG"
}
]
}