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

Home › CVE › Ruby

CVE-2026-142591 — rack

Medium · CVSS 5.3EPSS 0.6% First seen December 02, 2026

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

RubyWebCloud & containersVulnerabilities

Research article

Rack Vulnerability Allows Memory Exhaustion in Ruby Web Applications

CVECVE-2026-142591
Vendor and productrack
PublishedDecember 04, 2026 00:25 UTC
Research cut-offDecember 04, 2026 00:10 UTC
Sources reviewed4: NVD record (last modified 2026-12-03); CISA KEV catalog; GitHub advisory (2026-12-03); FIRST EPSS (2026-12-03)

Executive summary

CVE-2026-142591 impacts Rack, a Ruby web server interface, due to uncontrolled resource consumption in query parsing [1]. The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com [1]. Versions before 2.2.26, 3.1.24, and 3.2.9 are at risk [3]. The reviewed sources do not confirm exploitation [2]. The primary recommendation is to update to the patched versions [3].

Key points

  • CVE-2026-142591 affects Rack versions before 2.2.26, 3.1.24, and 3.2.9 due to uncontrolled resource consumption [3].
  • The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com [1].
  • The reviewed sources do not confirm exploitation of this vulnerability [2].
  • The primary recommendation is to update to the patched versions of Rack [3].
  • The vulnerability can cause memory exhaustion, and simultaneous requests may use up the memory of a process or container [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-142591Rack teamRackCWE-4005.3 MEDIUM, scored by security-advisories@github.com [1]2026-12-02T22:18:362026-12-03T17:18:04Awaiting Analysis

Vulnerability description

Rack's query parser employs regular expressions to process query strings and form-urlencoded data, which can lead to excessive memory use when handling long sequences of spaces or bracket characters [1]. This allows an unauthenticated attacker to trigger memory exhaustion with a single request, which could degrade system performance [1].

Attack surface and exploitation prerequisites

The vulnerability does not require user interaction or elevated privileges and is accessible via the network [1]. The CVSS vector indicates the attack can be initiated without prior authentication [1].

Impact analysis

The CVSS vector shows no impact on confidentiality or integrity but a low impact on availability [1]. The vulnerability can cause memory exhaustion, and simultaneous requests may use up the memory of a process or container [1].

Affected products and versions

Affected VersionFixed Version
< 2.2.262.2.26 [3]
>= 3.0.0, < 3.1.243.1.24 [3]
>= 3.2.0, < 3.2.93.2.9 [3]

Exploitation and threat intelligence status

CVE-2026-142591 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-12-04 [2]. The EPSS score estimates a 0.61% probability of exploitation activity in the next 30 days [4].

Detection and exposure assessment

To check if an application is affected, verify if it uses Rack versions less than 2.2.26, 3.1.24, or 3.2.9 [3]. No detection methods are provided in the reviewed sources [1].

Remediation

Upgrade to Rack versions 2.2.26, 3.1.24, or 3.2.9 to address this vulnerability [3]. No additional mitigation measures are mentioned in the reviewed sources [1].

Remediation checklist

  1. Upgrade Rack to version 2.2.26, 3.1.24, or 3.2.9 to resolve the vulnerability [3].
  2. Review all installed Rack versions to ensure they are not in the vulnerable range [3].
  3. Monitoring system memory usage may help identify potential exploitation attempts; the record does not describe detection methods.
  4. Network monitoring tools may help detect unusual traffic patterns; the record does not describe detection methods.

Evidence gaps

  • The sources do not describe the affected component's internal workings.
  • The sources do not mention a workaround.
  • The sources do not describe a scenario or attack lifecycle.
  • The sources do not provide indicators of compromise.
  • The sources do not list a fixed version for all affected product variants.

References

  1. CVE-2026-142591 record. NIST National Vulnerability Database (NVD), 2026-12-03. https://nvd.nist.gov/vuln/detail/CVE-2026-142591. Accessed 2026-12-04. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Detection and exposure assessment, Remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-04. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-04. Exploitation and threat intelligence status
  3. GHSA-f7cc-57h7-qrcg. GitHub Security Advisory Database, 2026-12-03. https://github.com/advisories/GHSA-f7cc-57h7-qrcg. Accessed 2026-12-04. Vulnerability identification, Affected products and versions, Remediation
  4. EPSS score for CVE-2026-142591. FIRST, 2026-12-03. https://api.first.org/data/v1/epss?cve=CVE-2026-142591. Accessed 2026-12-04. Exploitation and threat intelligence status

Written with AI assistance from the 4 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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 DEFAULT_SEP and COMMON_SEP regular expressions when splitting query strings and application/x-www-form-urlencoded bodies, while params_hash_has_key? and the Rack 2.2 normalize_params path use quantified expressions for bracketed parameter names. Long runs of spaces after an ampersand, or long runs of bracket characters in a parameter name, cause Ruby's regular expression engine to allocate approximately 48 bytes of backtracking state per input character. RACK_QUERY_PARSER_BYTESIZE_LIMIT bounds the request size but not this amplification, and RACK_QUERY_PARSER_PARAMS_LIMIT does not prevent it because very few parameters are required. An unauthenticated attacker can cause substantial transient memory allocation with one request, and concurrent requests can exhaust process or container memory. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.3 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
low 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:L

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Affected and fixed versions

ProductAffected versionsFixed in
rack (RubyGems)< 2.2.262.2.26
≥ 3.0, < 3.1.243.1.24
≥ 3.2, < 3.2.93.2.9
rack< 2.2.26, >= 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

Frequently asked questions

What is CVE-2026-142591?

CVE-2026-142591 impacts Rack, a Ruby web server interface, due to uncontrolled resource consumption in query parsing. The CVSS 3.1 score is 5.3 MEDIUM, scored by security-advisories@github.com. Versions before 2.2.26, 3.1.24, and 3.2.9 are at risk. The reviewed sources do not confirm exploitation. The primary recommendation is to update to the patched versions. Weakness type: Uncontrolled Resource Consumption (CWE-400).

How severe is CVE-2026-142591?

CVE-2026-142591 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-142591 being exploited?

Not as far as is known: CVE-2026-142591 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-142591?

rack (RubyGems) < 2.2.26 (fixed in 2.2.26); rack (RubyGems) ≥ 3.0, < 3.1.24 (fixed in 3.1.24); rack (RubyGems) ≥ 3.2, < 3.2.9 (fixed in 3.2.9); rack < 2.2.26, >= 3.0.0, < 3.1.24, >= 3.2.0, < 3.2.9.

How do I fix CVE-2026-142591?

Upgrade Rack to version 2.2.26, 3.1.24, or 3.2.9 to resolve the vulnerability. Review all installed Rack versions to ensure they are not in the vulnerable range. Monitoring system memory usage may help identify potential exploitation attempts; the record does not describe detection methods.

Timeline & sources

References

Related vulnerabilities & news