Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Ruby

CVE-2026-142592 — rack

High · CVSS 7.5EPSS 0.6% First seen December 02, 2026

One of 4 rack vulnerabilities published together by NVD: our article covers all of them.

RubyWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Affected and fixed versions

ProductAffected versionsFixed in
rack (RubyGems)≥ 3.0.0, < 3.1.243.1.24
≥ 3.2.0, < 3.2.93.2.9
rack>= 3.0.0, < 3.1.24, >= 3.2.0, < 3.2.9—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

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