# CVE-2026-142594: Rack: \`Rack::Multipart\` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass.

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-05
- Aliases: GHSA-r243-pfwh-7rpx, CGA-48v9-hpw9-38qr, CGA-cgc5-7x4c-p4cj, CGA-g8hv-x9xf-7w68, CGA-vp5q-6h3r-6445, CGA-28j5-2hpp-59c8, CGA-3jx4-mq94-gcx9, CGA-249g-qwfp-r9p5, CGA-2jrv-m997-h5q6, CGA-2q92-rpch-vqfg, CGA-2wp4-6wwg-vxm7, CGA-37hj-vr4q-m6wm, CGA-38xv-v2gp-qhqw, CGA-3q2q-rc5h-ccfx, CGA-47v5-w527-9qjr, CGA-5xv5-r358-72rj, CGA-78mw-m3w5-h5gg, CGA-8rqg-p7hh-vw2j, CGA-8vq4-p6xx-vvf5, CGA-cw9w-j9hh-vrmw, CGA-gqpq-ghg8-3hm3, CGA-mrhp-qw9c-4r4x, CGA-mvh9-7jv4-7p53, CGA-mx4m-8wrp-rf2x, CGA-rwjj-2fhg-5437, CGA-ww88-gw6m-j8j7, CGA-25rg-jwmj-p8c8, CGA-3j3h-2gv9-2vq4, CGA-3phg-23qh-43x5, CGA-4hwc-c9hp-92v3, CGA-4p3j-qxg2-vffg, CGA-6p48-2mcj-7cc9, CGA-88h5-p748-3p2w, CGA-8r6j-vcvh-6wq5, CGA-9p8r-8h47-jxqx, CGA-cgcr-mm84-f95x, CGA-chj9-84m6-5f92, CGA-cwr2-xj7p-pfp9, CGA-fpj7-8f76-f4mm, CGA-mxr8-9fv2-5268, CGA-pw5x-g48v-mvf6, CGA-vw42-h8jx-84qg, CGA-ww74-m734-qvr6, CGA-m3mq-4jgg-8685, CGA-g2r7-x793-66j6
- Record: https://cvemate.com/vulnerability/CVE-2026-142594 · JSON: https://cvemate.com/vulnerability/CVE-2026-142594/json

## Description

```text
Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser.parse_boundary locates boundary= as a substring anywhere in a Content-Type header instead of parsing named parameters consistently with Rack::MediaType.params, truncates quoted boundary values at delimiters, preserves surrounding whitespace, and does not correctly process quoted-pair escapes. A conforming intermediary can therefore find no boundary or a different boundary while Rack parses attacker-controlled multipart parts, allowing form fields or uploads to bypass web application firewall inspection. Exploitation requires an intermediary that inspects multipart bodies using a conforming parser, and Rack itself grants no capability beyond a well-formed request carrying the same body. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.568%, percentile 48.543%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 39)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.5 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx>
- <https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d>
- <https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0>
- <https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4>
- <https://github.com/rack/rack/releases/tag/v2.2.26>
- <https://github.com/rack/rack/releases/tag/v3.1.24>
- <https://github.com/rack/rack>
- <https://github.com/rack/rack/releases/tag/v3.2.9>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142594.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-142594>

---

Data as of 2026-12-05T08:26:48.455Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
