
PEACH
Un cadre d’isolation des locataires
CVE-2026-142594 is a security feature bypass vulnerability in Rack, the modular Ruby web server interface, caused by incorrect multipart boundary parsing in Rack::Multipart::Parser.parse_boundary. The flaw allows crafted multipart HTTP requests to evade inspection by conforming intermediaries such as web application firewalls (WAFs). Affected versions are Rack < 2.2.26, >= 3.0.0 and < 3.1.24, and >= 3.2.0 and < 3.2.9. The advisory was published on December 2, 2026, with patches released the same day. It carries a CVSS v3.1 base score of 3.7 (Low) (GitHub Advisory).
The root cause is an interpretation conflict (CWE-436) between Rack's non-conforming boundary extraction and RFC 9110-compliant parsers used by WAFs and reverse proxies. Rack's parse_boundary method used a regular expression (MULTIPART) to locate boundary= as a substring anywhere in the Content-Type header, rather than parsing named parameters per RFC 9110 Section 8.3.1. This produced three exploitable behaviors: (1) boundary= embedded inside another parameter's value (e.g., name=" boundary=EVIL") was accepted by Rack but ignored by conforming parsers; (2) quoted boundary values were truncated at , or ; delimiters, so boundary="AaB03x,1" yielded AaB03x to Rack but AaB03x,1 to a conforming parser; (3) surrounding whitespace was preserved and quoted-pair escapes were not unescaped. The fix replaces the regex with a full RFC 9110 parameter parser using StringScanner, properly handles quoted strings, and rejects requests with more than one boundary parameter (GitHub Advisory, Rack Commit 6cce362).
An unauthenticated remote attacker can send a crafted multipart HTTP request whose Content-Type header causes a conforming WAF or reverse proxy to find no boundary (or a different boundary) while Rack parses the attacker-controlled multipart parts normally. As a result, form fields and file uploads — including potentially malicious payloads such as PHP web shells — reach the Rack-based application without WAF inspection, effectively neutralizing the intermediary's security controls. The advisory confirmed end-to-end exploitation against OWASP Coraza with the OWASP Core Rule Set, where a PHP file upload blocked by a WAF rule was successfully smuggled to the application. Rack itself grants no additional capability beyond a well-formed request with the same body, so the primary impact is integrity loss through security control bypass (GitHub Advisory).
No public proof-of-concept exploit code has been published, and there is no evidence of in-the-wild exploitation as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires no authentication, no user interaction, and no special privileges, but does require the presence of a conforming intermediary (such as a WAF or reverse proxy) that inspects multipart request bodies — without such an intermediary, there is no security impact beyond what a normal request would provide (GitHub Advisory, Feedly).
mime.ParseMediaType, Python's email package, or WAF engines built on them).Content-Type header that exploits the boundary parsing differential. For example, use a quoted boundary containing a comma: Content-Type: multipart/form-data; boundary="safe,X". The conforming WAF parser sees safe,X as the boundary; the vulnerable Rack parser truncates at the comma and uses safe as the boundary.safe) but contains a different set of parts under the conforming boundary (safe,X). The WAF inspects the parts delimited by safe,X (which appear benign), while Rack parses the parts delimited by safe (which contain the malicious payload, e.g., a PHP file upload).Content-Type headers containing quoted boundary values that include , or ; characters (e.g., boundary="safe,X"), or headers where boundary= appears inside another parameter's value (e.g., name=" boundary=EVIL").Content-Type header contains whitespace after = or before ;, or uses RFC 2231 boundary* parameters alongside a plain boundary parameter..php, .jsp).Upgrade Rack to a patched version: 2.2.26, 3.1.24, or 3.2.9, depending on the release line in use. The fix replaces the regex-based boundary extraction with a strict RFC 9110-compliant parameter parser that correctly handles quoted strings, rejects duplicate boundary parameters, and raises errors on malformed headers (Rack v2.2.26 Release, GitHub Advisory). As a temporary workaround prior to patching, configure the reverse proxy or WAF to reject multipart requests whose Content-Type does not contain exactly one well-formed boundary parameter, and reject boundary values containing , or ;. Until patched, treat multipart form and upload endpoints as not fully protected by the intermediary.
The advisory was submitted with AI assistance and credited multiple reporters (SounLabs, manus-pi, dkmy-sec) with remediation coordinated by samuel-williams-shopify and jeremyevans. The fix was co-authored by Jeremy Evans and Aaron Patterson (tenderlove), prominent contributors to the Ruby ecosystem. The vulnerability was noted as a parser differential class of issue, related to a broader pattern of WAF bypass techniques exploiting inconsistencies between HTTP intermediaries and backend parsers, similar to CVE-2026-26961 (GHSA-vgpv-f759-9wx3) which involved RFC 2231 boundary* parameters (GitHub Advisory).
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."