CVE-2026-142592 — rack
One of 4 rack vulnerabilities published together by NVD: our article covers all of them.
RubyWebVulnerabilitiesSummary
Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find for every charset parameter in a multipart part's Content-Type header without first checking Encoding.name_list. For an unknown name, Ruby searches each directory on $LOAD_PATH for an encoding library before raising ArgumentError, and Rack catches the exception without caching the failure or limiting repeated charset parameters. An unauthenticated attacker can send thousands of unknown charset parameters in a relatively small multipart request, occupying a worker thread for tens of seconds or longer, with cost increasing as the application's load path grows. Rack 2.2 is not affected by this denial of service because the first unknown charset aborts parsing. This issue is fixed in versions 3.1.24 and 3.2.9.
Severity breakdown
High · 7.5
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-400: Uncontrolled Resource Consumption
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| rack (RubyGems) | ≥ 3.0.0, < 3.1.24 | 3.1.24 |
| ≥ 3.2.0, < 3.2.9 | 3.2.9 | |
| rack | >= 3.0.0, < 3.1.24, >= 3.2.0, < 3.2.9 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/rack/rack/commit/7c16c669fe2040ac395cf05a242f80527ddab16b
- github.com/rack/rack/commit/8ae2ea868a13eec2cfa7065a1ea8b527c567fad9
- github.com/rack/rack/releases/tag/v3.1.24
- github.com/rack/rack/releases/tag/v3.2.9
Other references
Affected
- rack
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142592?
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 Encoding.namelist. Weakness type: Uncontrolled Resource Consumption (CWE-400).
How severe is CVE-2026-142592?
CVE-2026-142592 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142592 being exploited?
Not as far as is known: CVE-2026-142592 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142592?
rack (RubyGems) ≥ 3.0.0, < 3.1.24 (fixed in 3.1.24); rack (RubyGems) ≥ 3.2.0, < 3.2.9 (fixed in 3.2.9); rack >= 3.0.0, < 3.1.24, >= 3.2.0, < 3.2.9.
How do I fix CVE-2026-142592?
Update to a fixed release: rack (RubyGems) 3.1.24; rack (RubyGems) 3.2.9.
Timeline & sources
References
Related vulnerabilities & news
- Tenable: Vulnerability Hype Doesn't Equal Real-World Exploit Risk
- Researcher Says Rails CSRF Flaw CVE-2020-8166 Remains Incompletely Fixed
- Ubuntu Issues Fix for TZInfo Path Traversal Flaw in Ruby Timezone Library
- Debian Issues Rails Security Update Covering 18 CVEs
- Ruby Security Flaws Enable Remote Code Execution