CVE-2024-26142: Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Vulnerability summary
CVE-2024-26142 is a high (CVSS 7.5) vulnerability in rails. EPSS estimates a 1.50% chance of exploitation in the next 30 days, higher than 75.1% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 27-02-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.50%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Rails1 product
- rails≥ 7.1.0, < 7.1.3.1
RubyGems1 product
- actionpack≥ 7.1.0, < 7.1.3.1
Rubyonrails1 product
- rails≥ 7.1.0, < 7.1.3.1
Ubuntu1 product
- railsAll versions (No fix recorded)
4 vendors · 4 products
References
9 links- github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wqX Refsource CONFIRMREPORTWEBVendor Advisory
- github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272X Refsource MISCREPORTWEBPatch
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.ymlX Refsource MISCREPORTWEBThird Party Advisory
- security.netapp.com/advisory/ntap-20240503-0003/Third Party Advisory
- github.com/rails/railsPACKAGE