CVE-2026-26961CWE-436

Rack: Multipart Boundary Parsing Ambiguity allowing WAF Bypass

Low · published April 2, 2026

CVSS v3.1
3.7
EPSS
0%
Percentile
18.7
In the wild
Unconfirmed
What it is

Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser extracts the boundary parameter from multipart/form-data using a greedy regular expression. When a Content-Type header contains multiple boundary parameters, Rack selects the last one rather than the first. In deployments where an upstream proxy, WAF, or intermediary interprets the first boundary parameter, this mismatch can allow an attacker to smuggle multipart content past upstream inspection and have Rack parse a different body structure than the intermediary validated. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00273 · 18.7th percentile
Weakness
CWE-436 · Interpretation Conflict
Published
2026-04-02T16:42Z
EPSS history
Timeline
  • 02 APR 16:42Z
    Rack: Multipart Boundary Parsing Ambiguity allowing WAF Bypass
    cvelistv5