CVE-2026-34827
Rack: Algorithmic-Complexity DoS in Rack::Multipart::Parser
Reported by github_m · Published April 2, 2026
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handle_mime_head parses quoted multipart parameters such as Content-Disposition: form-data; name="..." using repeated String#index searches combined with String#slice! prefix deletion. For escape-heavy quoted values, this causes super-linear processing. An unauthenticated attacker can send a crafted multipart/form-data request containing many parts with long backslash-escaped parameter values to trigger excessive CPU usage during multipart parsing. This results in a denial of service condition in Rack applications that accept multipart form data. This issue has been patched in versions 3.1.21 and 3.2.6.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby3.4-rails-7.2 | Chainguard | 7.2.3.1-r1 |
| kube-fluentd-operator | Wolfi | 1.18.2-r67 |
| logstash-9.3 | Chainguard | 9.3.3-r2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | >= 3.0.0.beta1, < 3.1.21, >= 3.2.0, < 3.2.6 |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Logging Subsystem for Red Hat OpenShift | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Logging Subsystem for Red Hat OpenShift | |
| chainguard | ruby3.4-rails-7.2 | 0 |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| wolfi | kube-fluentd-operator | 0 |
| chainguard | logstash-9.3 | 0 |
| rack | rack | 3.0.0.beta1, 3.2.0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| wolfi | logstash-9.3 | 0 |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Logging Subsystem for Red Hat OpenShift | |
| Red Hat | Red Hat 3scale API Management Platform 2 | |
| Red Hat | Logging Subsystem for Red Hat OpenShift |
…and 44 more
Timeline
- Apr 2, 2026 CVE Published
- Apr 3, 2026 Security Advisory
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 12, 2026 Coalition ESS Score
- Jul 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-34827
vulnetix vdb fixes CVE-2026-34827
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-34827/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/rack/rack/security/advisories/GHSA-v6x5-cg8r-vv6x x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-34827 advisory
- https://github.com/advisories/GHSA-v6x5-cg8r-vv6x advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2026-34827.yml advisory
- https://access.redhat.com/security/cve/CVE-2026-34827 vdb
- RHBZ#2454501 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34827.json url
- https://github.com/rack/rack url