Home › Vulnerabilities › rack
Rack Ruby server gets four parser and directory flaws, led by a HIGH-rated denial of service
NVD published four Rack vulnerabilities on 2026-12-02, covering multipart parsing, query parsing, directory listing, and boundary handling. The most severe, CVE-2026-142592 (HIGH, CVSS 7.5), lets an unauthenticated request tie up worker threads, and the fixes are in versions 3.1.24, 3.2.9, and 2.2.26.
What to look into
- 4 vulnerabilities in rack: 1 high, 2 medium, 1 low (CVSS up to 7.5).
- None of them is known to be exploited yet.
- Start with CVE-2026-142592 (7.5 high): Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tagmultipartencoding calls Encoding.find for every charset parameter in a multipart part's Cont… An attacker without an account can exploit this over the network, without any user action.
- 4 of 4 can be attacked over the network without logging in, 4 of them without anyone clicking anything.
- Kinds of flaws: Uncontrolled Resource Consumption (×2); Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); Improper Link Resolution Before File Access ('Link Following'); Interpretation Conflict.
Key points
- CVE-2026-142592 (HIGH, 7.5) is a multipart charset parsing flaw that can tie up worker threads; Rack 2.2 is not affected
- CVE-2026-142593 and CVE-2026-142591 (both MEDIUM, 5.3) cover directory-name disclosure via symlinked dot-dot paths and regex-driven memory exhaustion
- CVE-2026-142594 (LOW, 3.7) can let a WAF with a conforming parser miss multipart content
- The fixed releases are 3.1.24, 3.2.9, and 2.2.26; no exploitation is mentioned in the records
Overview
The batch contains four flaws in Rack, the modular Ruby web server interface, all published by NVD on 2026-12-02. Three are denial-of-service or information-exposure issues in request parsing and file listing, and one is a low-severity parsing mismatch. The records do not state that any of them has been exploited.
Most severe: CVE-2026-142592
Rated HIGH (CVSS 7.5), this flaw sits in the multipart parser. For each charset parameter in a part's Content-Type header, Rack calls Encoding.find without first checking the list of known encodings. Unknown names make Ruby search the load path, and Rack neither caches the failure nor limits repeated parameters. According to the record, a fairly small unauthenticated request can hold a worker thread for tens of seconds or longer, and the cost grows with the application's load path. Versions 3.0.0 through 3.1.24 and 3.2.9 are affected, and the fixes are 3.1.24 and 3.2.9. Rack 2.2 is not affected.
Medium-severity issues
CVE-2026-142593 (CVSS 5.3) affects Rack::Directory. Paths containing dot-dot segments are checked, but the unnormalized path is still passed to file system calls. Where a directory under the served root is a symbolic link followed by dot-dot, an unauthenticated request can list entries in a location outside the root. The record limits the exposure to entry names, sizes, and modification times, because file contents are normalized first. Earlier releases that reject all dot-dot paths are not affected.
CVE-2026-142591 (CVSS 5.3) involves regular expressions in query-string and form-body parsing. Long runs of spaces or bracket characters cause heavy backtracking allocation, which the record estimates at about 48 bytes per input character. The existing byte-size and parameter-count limits do not prevent this, so one request can cause large transient allocations, and concurrent requests can exhaust process or container memory.
Low-severity issue
CVE-2026-142594 (CVSS 3.7) concerns boundary detection. Rack finds boundary= as a substring and handles quoted values differently from its own media-type parameter parsing. A conforming intermediary, such as a web application firewall, may then identify no boundary or a different one, which could let form fields or uploads bypass inspection. The record says this needs such an intermediary and that Rack grants no capability beyond the same well-formed request.
Not stated in the records
The sources do not describe workarounds or detection methods for any of the four issues.
What to do
- Upgrade Rack 3.1.x installations to 3.1.24 or later
- Upgrade Rack 3.2.x installations to 3.2.9 or later
- Upgrade Rack 2.2.x installations to 2.2.26, which the records list as fixing CVE-2026-142591, CVE-2026-142593, and CVE-2026-142594
The 4 vulnerabilities
- CVE-2026-142592 7.5 Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tagmultipartencoding calls Encoding.find for every charset parameter in a multipart part's Content-Type header without first checking E…
- CVE-2026-142593 5.3 Rack is a modular Ruby web server interface. From 2.2.0 until 2.2.26, 3.1.24, and 3.2.9, Rack::Directory#get checks a path containing dot-dot segments with File.expandpath but then passes the original unnormalized path to File.stat and Dir…
- CVE-2026-142591 5.3 Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::QueryParser uses the quantified DEFAULTSEP and COMMONSEP regular expressions when splitting query strings and application/x-www-form-urlencoded bodies,…
- CVE-2026-142594 3.7 Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser.parseboundary locates boundary= as a substring anywhere in a Content-Type header instead of parsing named parameters consistently with…
Frequently asked questions
How many rack vulnerabilities were published on December 2, 2026?
4 vulnerabilities: 1 high, 2 medium, 1 low, with CVSS scores up to 7.5.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-142592 (CVSS 7.5): Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tagmultipartencoding calls Encoding.find for every charset parameter in a multipart part's Cont…