CVE-2026-34829
Rack: Denial of Service via Unbounded Multipart File Upload Without Content-Length
Reported by github_m · Published April 2, 2026
rack is fixed in 3.2.6, 3.1.21 and 2.2.23 (RubyGems)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser only wraps the request body in a BoundedIO when CONTENT_LENGTH is present. When a multipart/form-data request is sent without a Content-Length header, such as with HTTP chunked transfer encoding, multipart parsing continues until end-of-stream with no total size limit. For file parts, the uploaded body is written directly to a temporary file on disk rather than being constrained by the buffered in-memory upload limit. An unauthenticated attacker can therefore stream an arbitrarily large multipart file upload and consume unbounded disk space. This results in a denial of service condition for Rack applications that accept multipart form data. This issue has been patched in versions 2.2.23, 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 |
|---|---|---|
| rack | RubyGems | 3.2.6, 3.1.21, 2.2.23 |
| gitlab-rails-ce-18.1 | Chainguard | 18.1.6-r13 |
| gitlab-cng-18.9 | Chainguard | 18.9.5-r0 |
| ruby3.2-rails-8.0 | Wolfi | 8.0.5-r0 |
| ruby4.0-rack-2.2 | Chainguard | 2.2.23-r0 |
| ruby4.0-rack-2.2 | Wolfi | 2.2.23-r0 |
| pact-broker-docker | Chainguard | 2.137.0.2.118.0-r4 |
| logstash-9.1 | Chainguard | 9.1.10-r6 |
| gitlab-cng-18.8 | Chainguard | 18.8.9-r0 |
| logstash-9.1 | Wolfi | 9.1.10-r6 |
| ruby3.2-rack-2.2 | Chainguard | 2.2.23-r0 |
| gitlab-rails-ce-18.8 | Chainguard | 18.8.10-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | < 2.2.23, >= 3.0.0.beta1, < 3.1.21, >= 3.2.0, < 3.2.6 |
| rack | rack | < 2.2.23, >= 3.0.0.beta1, < 3.1.21, >= 3.2.0, < 3.2.6 |
Timeline
- Apr 2, 2026 CVE Published
- May 13, 2026 Security Advisory
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jun 11, 2026 Coalition ESS Score
- Jul 24, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-34829
vulnetix vdb fixes CVE-2026-34829
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-34829/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-8vqr-qjwx-82mw x_refsource_CONFIRM