CVE-2026-26961Rack
Medium 5.3 No auth needed
Follow: this CVE · Rack · Rack We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 2, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-436
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack |
< 2.2.23 |
2.2.23 |
gem "rack", ">= 2.2.23" |
| RubyGems | rack |
≥ 3.0.0.beta1 < 3.1.21 |
3.1.21 |
gem "rack", ">= 3.1.21" |
| RubyGems | rack |
≥ 3.2.0 < 3.2.6 |
3.2.6 |
gem "rack", ">= 3.2.6" |
Per OSV / GitHub Advisories (GHSA-vgpv-f759-9wx3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | < 2.2.23 |
| rack | rack | ≥ 3.0.0 < 3.1.21 |
| rack | rack | ≥ 3.2.0 < 3.2.6 |
Official advisories
- ruby4.0-rubygem-rack-3.2.8-1.1 on GA media · SUSE · openSUSE-SU-2026:12393-1 · Nov 2, 2026 Medium
- Security update for rmt-server · SUSE · openSUSE-SU-2026:21640-1 · Aug 25, 2026 High
- Security update for rmt-server · SUSE · SUSE-SU-2026:23321-1 · Aug 25, 2026 High
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory