CVE-2026-125108
Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | rack | < 2.2.25 | 2.2.25 |
Betroffene Produkte · Rack
| Produkt | Betroffene Versionen |
|---|---|
| Rack | ab 3.2, vor 3.2.8 vor 2.2.25 ab 3.0, vor 3.1.23 Version < 2.2.25 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/rack/rack/security/advisories/GHSA-p8x9-v4hv-2w4g
- https://github.com/rack/rack/commit/19a1a19cb4da97d61c8d5effeb2e927c44370ae9
- https://github.com/rack/rack/commit/a29512324265790a5536b830490075d0d79323be
- https://github.com/rack/rack/commit/d5e928b803da30b8e40171dbd4be39bed7daa6fa
- https://github.com/rack/rack/releases/tag/v2.2.25
- https://github.com/rack/rack/releases/tag/v3.1.23
- https://github.com/rack/rack/releases/tag/v3.2.8
- https://github.com/advisories/GHSA-p8x9-v4hv-2w4g
- https://nvd.nist.gov/vuln/detail/CVE-2026-125108
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-p8x9-v4hv-2w4g.yml