Quick answers
- Is CVE-2026-34827 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-34827 being exploited in the wild.
- How severe is CVE-2026-34827?
- High severity, with a CVSS score of 7.5, published 2 April 2026.
- Which products and versions are affected?
- rack (RubyGems) ECOSYSTEM:introduced=3.0.0.beta1,fixed=3.1.21.
- Is there a fix for CVE-2026-34827?
- Yes. rack (RubyGems): upgrade to 3.1.21 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-34827 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-34827?
- Check whether you run rack (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- rack (RubyGems): upgrade to 3.1.21 or later
bundle update rack
Technical details
A vulnerability exists in Rack::Multipart::Parser#handle_mime_head due to inefficient algorithmic complexity (CWE-407). The parser handles quoted multipart parameters using repeated String#index searches combined with destructive String#slice! prefix deletion. For values containing many backslash-escaped characters, this results in super-linear (O(n^2)) processing time. An unauthenticated remote attacker can exploit this by sending a multipart/form-data request containing many parts with long, escape-heavy parameter values. This triggers excessive CPU consumption, leading to a denial of service. The issue is fixed in Rack versions 3.1.21 and 3.2.6.
Affected products
- Rack Rack >= 3.0.0.beta1, < 3.1.21; >= 3.2.0, < 3.2.6
- Red Hat Logging Subsystem for Red Hat OpenShift 5
- Red Hat Red Hat 3scale API Management Platform 2 2
Identifiers
- CVE-2026-34827
- GHSA-v6x5-cg8r-vv6x
Timeline
- 2026-04-01: advisory: GitHub advisory published by maintainers
- 2026-04-02: disclosed: CVE published to NVD
- 2026-04-02: patched: Patched versions 3.1.21 and 3.2.6 released