CVE-2026-34827
highpriority · track · 0EPSS 0.005 · 41 %ileEUFRRUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-v6x5-cg8r-vv6xRack's multipart header parsing allows Denial of Service via escape-heavy quoted parameters2026-04-02ghsa · osvUS
## Summary `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. ## Details `Rack::Multipart::Parser#handle_mime_head` parses quoted parameter values by repeatedly: 1. Searching for the next quote or backslash, 2. Copying the preceding substring into a new buffer, and 3. Removing the processed prefix from the original string with `slice!`. An attacker can exploit this by sending a multipart request with many parts whose `name` parameters contain long escape-heavy values such as: ```text name="a\\a\\a\\a\\a\\..." ``` Under default Rack limits, a request can contain up to 4095 parts. If many of those parts use long quoted values with dense escape characters, the parser performs disproportionately expensive CPU work while remaining within normal request size and part-count limits. ## Impact Any Rack application that accepts `multipart/form-data` requests may be affected, including file upload endpoints and standard HTML form handlers. An unauthenticated attacker can send crafted multipart requests that consume excessive CPU time during request parsing. Repeated requests can tie up application workers, reduce throughput, and degrade or deny service availability. ## Mitigation * Update to a patched version of Rack that parses quoted multipart parameters without repeated rescanning and destructive prefix deletion. * Apply request throttling or rate limiting to multipart upload endpoints. * Where operationally feasible, restrict or isolate multipart parsing on untrusted high-volume endpoints.
- CERTFR-2026-AVI-1352Multiples vulnérabilités dans Oracle PeopleSoftFrançais2026-10-21vendor · certfrFR
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/rack/rack/releasesPatchcnnvd
- https://github.com/rack/rack/security/advisories/GHSA-v6x5-cg8r-vv6xcnnvd
- https://github.com/rack/rack/security/advisories/GHSA-v6x5-cg8r-vv6xenisa_euvd
- https://access.redhat.com/security/cve/CVE-2026-34827nvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2454501nvd
- https://github.com/rack/rack/security/advisories/GHSA-v6x5-cg8r-vv6xMitigationVendor Advisorynvd
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34827.jsonnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan