NetSight
low3.7

CVE-2026-125108

Rack: Multipart boundary ambiguity guard in Rack::Multipart::Parser can be bypassed with a quoted boundary value, allowing WAF bypass

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsrack< 2.2.252.2.25

Affected products · Rack

ProductAffected versions
Rack
from 3.2, before 3.2.8
before 2.2.25
from 3.0, before 3.1.23
Version < 2.2.25

Weakness classification

References