Rack multipart parser CPU exhaustion denial of service
CVE-2026-142592 and 4 more
Rack, a Ruby web app building block, can be stalled by one request.
- CVE
- CVE-2026-142592 and 4 more
- Score
- CVSS 7.5 · CVE-2026-142592
- First seen
Mitigation
Update Rack to 2.2.26, 3.1.24, or 3.2.9 or later. Until then, at a reverse proxy, limit the size of file-upload requests and reject requests with many repeated charset parameters (covers CVE-2026-142592). Only the update fixes the other CVEs.
Update to at least the version for your product:
- Rack 2.2 2.2.26 or later
- Rack 3.1 3.1.24 or later
- Rack 3.2 3.2.9 or later
Summary
Rack's multipart parser scans Ruby's whole load path for every unknown charset, so one unauthenticated request can tie up worker threads for tens of seconds. Versions before 2.2.26, 3.1.24 and 3.2.9 are affected, and the same update also fixes memory exhaustion, directory listing and header injection flaws.
Affected when
- CVE-2026-142592 app parses multipart requests (default settings included)
- CVE-2026-142592 Rack 3.0 up to before 3.1.24, or 3.2 up to before 3.2.9
- CVE-2026-142591 app parses query strings or form bodies (default settings included)
- CVE-2026-142591, CVE-2026-142594 Rack before 2.2.26, 3.0 up to before 3.1.24, or 3.2 up to before 3.2.9
- CVE-2026-142593 a symbolic link to a directory under the root, with Rack::Directory exposed
- CVE-2026-142593 Rack 2.2.0 up to before 2.2.26, 3.0 up to before 3.1.24, or 3.2 up to before 3.2.9
- CVE-2026-142590 app reuses parsed parameter names or upload content types in response headers or logs
- CVE-2026-142590 Rack before 2.2.26, 3.1.16 up to before 3.1.24, or 3.2 up to before 3.2.9
- CVE-2026-142594 an intermediary such as a WAF inspects multipart bodies
1 other Incident of this product in the last 30 days
Incidents by product: rack
Other recent Incidents of rack
5 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 5 CVEs (every link below opens in a new tab)
- CVE-2026-142592One request can hold worker threads for tens of seconds, slowing the service. CVSS 7.5 CVE-2026-142592 advisory
- CVE-2026-142591One request can make the server use huge memory and stall. CVSS 5.3 CVE-2026-142591 advisory
- CVE-2026-142593A folder link can reveal names, sizes and times of directories outside the root. CVSS 5.3 CVE-2026-142593 advisory
Show 2 more
- CVE-2026-142590Line breaks can be injected into response headers or logs, enabling header injection or log forgery. CVSS 4.8 CVE-2026-142590 advisory
- CVE-2026-142594Form fields or uploads can slip past WAF inspection. CVSS 3.7 CVE-2026-142594 advisory