CVE-2024-26142

Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch

HIGH
7.5
CVSS Score
Published: February 27, 2024 at 03:25 PM UTC
Updated: June 17, 2026 at 07:17 AM UTC
2 products affected across 2 vendorsRailsRails· also runs on 1 platform

Using rails by rails?

Get instant alerts when new vulnerabilities affect rails - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.1.0 ≤ v < 7.1.3.1
Affected range stops below 7.1.3.1, so it looks safe — our inference, not a vendor statement
ruby-lang-ruby (environment)
v < 7.1.3.17.1.0 ≤ v ≤ 7.1.3.17.1.0
Affected range stops below 7.1.3.1, so it looks safe — our inference, not a vendor statement

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

95%

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card