Ubuntu CVE Tracker
UBUNTU-CVE-2026-26961
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | ruby-rack | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby-rack | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby-rack | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | ruby-rack | All versions before 2.1.4-5ubuntu1.2+esm3 (fixed in 2.1.4-5ubuntu1.2+esm3) |
| Ubuntu:24.04:LTS | ruby-rack | All versions before 2.2.7-1ubuntu0.7 (fixed in 2.2.7-1ubuntu0.7) |
| Ubuntu:25.10 | ruby-rack | All versions before 3.1.16-0.1ubuntu0.3 (fixed in 3.1.16-0.1ubuntu0.3) |
| Ubuntu:26.04:LTS | ruby-rack | All versions before 3.2.4-1ubuntu1.1 (fixed in 3.2.4-1ubuntu1.1) |