Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser
Affects rackSource GCVE Database
Not known to be exploited · CVSS 3.7 Low : upgrade to 2.2.26 when convenient.
Data as of 3 Dec 2026, 03:00 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 2.2.26, 3.1.24, 3.2.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade rack to 2.2.26; rack to 3.1.24; rack to 3.2.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update Rack to a patched version where the boundary is extracted only from a parameter explicitly named 'boundary' using an RFC 9110-compliant parameter parser. The fix also honors quoted strings and rejects requests with multiple boundary parameters. Additionally, configure reverse proxies or web application firewalls to reject multipart requests whose Content-Type header does not contain exactly one well-formed boundary parameter, and reject boundary values containing ',' or ';'.
Description
A vulnerability in Rack's multipart parser allows it to incorrectly extract the multipart boundary from the Content-Type header by substring matching rather than proper parameter parsing. This causes Rack to interpret multipart boundaries differently than intermediaries using conforming parsers, enabling HTTP request smuggling of multipart form data. This can bypass inspection by web application firewalls or proxies, allowing uninspected form fields or file uploads to reach the application. The issue affects all supported Rack versions prior to 2.2.26, 3.1.24, and 3.2.9.
References
- github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx (opens in a new tab)
- github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d (opens in a new tab)
- github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0 (opens in a new tab)
- github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4 (opens in a new tab)
- github.com/rack/rack (opens in a new tab)
- github.com/rack/rack/releases/tag/v2.2.26 (opens in a new tab)
- github.com/rack/rack/releases/tag/v3.1.24 (opens in a new tab)
- github.com/rack/rack/releases/tag/v3.2.9 (opens in a new tab)