CVE-2026-26961

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Rack es una interfaz modular de servidor web Ruby. Antes de las versiones 2.2.23, 3.1.21 y 3.2.6, Rack::Multipart::Parser extrae el parámetro boundary de multipart/form-data utilizando una expresión regular voraz. Cuando un encabezado Content-Type contiene múltiples parámetros boundary, Rack selecciona el último en lugar del primero. En implementaciones donde un proxy ascendente, WAF o intermediario interpreta el primer parámetro boundary, esta discrepancia puede permitir a un atacante contrabandear contenido multipart más allá de la inspección ascendente y hacer que Rack analice una estructura de cuerpo diferente de la que el intermediario validó. Este problema ha sido parcheado en las versiones 2.2.23, 3.1.21 y 3.2.6.

16 Apr 2026, 17:33

Type Values Removed Values Added
CPE cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
First Time Rack
Rack rack
References () https://github.com/rack/rack/security/advisories/GHSA-vgpv-f759-9wx3 - () https://github.com/rack/rack/security/advisories/GHSA-vgpv-f759-9wx3 - Vendor Advisory

02 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-02 17:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-26961

Mitre link : CVE-2026-26961

CVE.ORG link : CVE-2026-26961


JSON object : View

Products Affected

rack

  • rack
CWE
CWE-436

Interpretation Conflict