VDB

CVE-2026-34829

CVE-2026-34829 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
rackRubyGems3.2.6, 3.1.21, 2.2.23
gitlab-rails-ce-18.1Chainguard18.1.6-r13
gitlab-cng-18.9Chainguard18.9.5-r0
ruby3.2-rails-8.0Wolfi8.0.5-r0
ruby4.0-rack-2.2Chainguard2.2.23-r0
ruby4.0-rack-2.2Wolfi2.2.23-r0
pact-broker-dockerChainguard2.137.0.2.118.0-r4
logstash-9.1Chainguard9.1.10-r6
gitlab-cng-18.8Chainguard18.8.9-r0
logstash-9.1Wolfi9.1.10-r6
ruby3.2-rack-2.2Chainguard2.2.23-r0
gitlab-rails-ce-18.8Chainguard18.8.10-r0

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
rackrack< 2.2.23, >= 3.0.0.beta1, < 3.1.21, >= 3.2.0, < 3.2.6
rackrack< 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›