
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34827 is a denial-of-service vulnerability in Rack, the modular Ruby web server interface, caused by inefficient algorithmic complexity in multipart header parsing. The flaw affects Rack versions 3.0.0.beta1 through before 3.1.21, and 3.2.0 through before 3.2.6. It was published on April 2, 2026, with patches released in versions 3.1.21 and 3.2.6. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Rack Advisory).
The root cause lies in Rack::Multipart::Parser#handle_mime_head, which parses quoted multipart parameters (e.g., Content-Disposition: form-data; name="...") using a combination of repeated String#index searches and destructive String#slice! prefix deletion. For parameter values containing dense backslash-escape sequences, this algorithm exhibits super-linear (quadratic) time complexity, classified under CWE-400 (Uncontrolled Resource Consumption), CWE-407 (Inefficient Algorithmic Complexity), and CWE-770 (Allocation of Resources Without Limits or Throttling). An attacker exploits this by crafting a multipart/form-data request with up to 4,095 parts (the default Rack limit), each containing a long escape-heavy name parameter such as name="a\\a\\a\\a\\...", which forces the parser to perform disproportionately expensive CPU work while staying within normal request size and part-count limits (GitHub Advisory, Rack Advisory).
Successful exploitation results in excessive CPU consumption on the server during multipart request parsing, leading to a denial-of-service condition. Any Rack application that accepts multipart/form-data requests is potentially affected, including file upload endpoints and standard HTML form handlers. Repeated crafted requests can exhaust application worker threads, reduce throughput, and degrade or fully deny service availability. There is no impact on confidentiality or data integrity (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (Feedly). The vulnerability requires no authentication, no privileges, and no user interaction, making it trivially reachable from the network by any attacker who can send HTTP requests to a vulnerable Rack application. The EPSS score is approximately 0.041% (0.023% per GitHub Advisory), placing it in a low exploitation-probability tier. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
multipart/form-data (e.g., file upload forms).Content-Type: multipart/form-data containing up to 4,095 parts. Each part's Content-Disposition header should include a name parameter with a long, backslash-escape-heavy quoted value, e.g., name="a\\a\\a\\a\\..." (hundreds or thousands of \a sequences).curl, a custom Python script, or a fuzzing framework. The request remains within Rack's default part-count and size limits, bypassing basic input restrictions.Rack::Multipart::Parser#handle_mime_head method processes each escape character with repeated String#index and String#slice! calls, causing super-linear CPU usage per part.Content-Disposition header values.Content-Type: multipart/form-data that result in slow response times or timeouts; log entries indicating worker process exhaustion or request queue buildup.ruby, puma, unicorn, passenger) without a corresponding increase in legitimate traffic; application workers becoming unresponsive or restarting frequently.Upgrade Rack to version 3.1.21 (for the 3.1.x branch) or 3.2.6 (for the 3.2.x branch), which fix the parser to avoid repeated rescanning and destructive prefix deletion. As interim mitigations, apply rate limiting or request throttling on multipart upload endpoints, and consider restricting or isolating multipart parsing on untrusted high-volume endpoints. IBM has also issued advisories for affected downstream products including IBM Aspera Faspex, Aspera Enterprise WebApps, Aspera Shares, and API Connect, which should be updated per their respective bulletins (GitHub Advisory, IBM Aspera Faspex, IBM Aspera Shares).
The vulnerability was coordinated and disclosed by ioquatix (Rack maintainer) and reported by TaiPhung217, with remediation development credited to jeremyevans. Ubuntu issued security notice USN-8182-1 addressing the flaw in its packaged version of Rack. IBM published multiple security bulletins covering affected downstream products. No significant broader media coverage or notable social media commentary has been identified beyond standard vulnerability tracking and vendor advisory channels (Ubuntu Advisory, IBM Aspera Faspex).
Fix availability across major Linux distributions and their releases.
devel
ruby-rack
questing
ruby-rack: 3.1.16-0.1ubuntu0.3
resolute
ruby-rack
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."