Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-125108: Rack allows crafted upload to bypass firewall inspection
CVE-2026-125108 · published 12 days ago
Summary
The Rack web server component used in Ruby applications could be tricked into accepting a malformed multipart request, letting files or form data pass through a proxy or web‑application firewall unchanged. This could let unwanted content reach the application. Upgrade Rack to version 2.2.25, 3.1.23 or later to close the gap.
What to do
- Update debian ruby-rack to version 3.2.8-1.
- Update rack to version 2.2.25.
- Update rack to version 3.1.23.
- Update rack to version 3.2.8.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | rack | rack | < 2.2.25 |
| Debian:12 | debian | ruby-rack | All versions |
| Debian:14 | debian | ruby-rack |
< 3.2.8-1 Fix: upgrade to 3.2.8-1
|
| rubygems | – | rack |
< 2.2.25 >= 3.0.0, < 3.1.23 >= 3.2.0, < 3.2.8 Fix: upgrade to 2.2.25
|
| Ubuntu:Pro:14.04:LTS | canonical | ruby-rack | All versions |
Original advisory text
Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass
Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser.parse_boundary can skip a leading empty or quoted boundary parameter in a multipart Content-Type header and accept a later parameter. Rack can therefore parse a request body with a boundary that a conforming intermediary would not derive, allowing form fields or file uploads to reach an application without the intended proxy or web application firewall inspection. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.
References
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-1251... Vendor Advisory
- https://github.com/rack/rack/commit/19a1a19cb4da97d61c8d5effeb2e927c44370ae9 Patch
- https://github.com/rack/rack/commit/a29512324265790a5536b830490075d0d79323be Patch
- https://github.com/rack/rack/releases/tag/v2.2.25 URL
- https://github.com/rack/rack/releases/tag/v3.1.23 URL
- https://github.com/rack/rack/security/advisories/GHSA-p8x9-v4hv-2w4g Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-125108 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-125108 Vendor Advisory
- https://github.com/rack/rack/releases/tag/v3.2.8 URL
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-p8x9-v4hv...
- https://github.com/advisories/GHSA-p8x9-v4hv-2w4g
- https://ubuntu.com/security/CVE-2026-125108 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2026-125108 Third Party Advisory
- https://github.com/rack/rack/commit/d5e928b803da30b8e40171dbd4be39bed7daa6fa Patch
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-436Interpretation Conflict
Timeline
Published9 Nov 2026
Updated22 Nov 2026
First seen10 Nov 2026
Sources
CVE-2026-125108 · OSV
GHSA-p8x9-v4hv-2w4g · GHSA
DEBIAN-CVE-2026-125108 · OSV
CVE-2026-125108 · NVD
UBUNTU-CVE-2026-125108 · OSV
CVE-2026-125108 · MITRE
Track software like this
Free during beta