CVE-2026-26961

LOW

Rack: Multipart Boundary Parsing Ambiguity allowing WAF Bypass

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 3.7
EPSS 0.0001
EPSS Percentile 2.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-436
Status published
Products (4)
rack/rack < 2.2.23 (2 CPE variants)
rack/rack >= 3.0.0.beta1, < 3.1.21
rack/rack >= 3.2.0, < 3.2.6
rubygems/rack 0 - 2.2.23RubyGems
Published Apr 02, 2026
Tracked Since Apr 02, 2026