{"id":"CVE-2026-34829","published":"2026-04-02T16:46:47Z","modified":"2026-07-15T01:03:38Z","title":"Rack: Denial of Service via Unbounded Multipart File Upload Without Content-Length","vendor":"rack","product":"rack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00384,"percentile":0.33303,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-8vqr-qjwx-82mw","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34829","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2454488","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34829.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":6.66},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"rack","affectedVersions":[{"vendor":"rack","product":"rack","versions":["< 2.2.23",">= 3.0.0.beta1, < 3.1.21",">= 3.2.0, < 3.2.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-02T17:41:27.704414Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rack","vulnerableRanges":["<2.2.23",">=3.0.0.beta1, <3.1.21",">=3.2.0, <3.2.6"],"patched":["2.2.23","3.1.21","3.2.6"],"from":["GHSA-8vqr-qjwx-82mw"],"provenance":"source"}],"summary":{"text":"The Rack web server interface's multipart form parser (Rack::Multipart::Parser) fails to enforce a total size limit on multipart/form-data requests that lack a Content-Length header, such as those sent with chunked transfer encoding, so file parts are written to disk without bound. An unauthenticated remote attacker can exploit this over the network with no user interaction or special configuration by streaming an arbitrarily large multipart upload, exhausting disk space and causing denial of service in Rack applications that accept multipart form data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:33Z"},"euvd":{"id":"EUVD-2026-18388","exploited":false,"provenance":"source"}}