# CVE-2024-26142: Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 74% of CVEs (2026-12-01)
- Published: 2024-02-27T15:25:44.103Z
- Modified: 2026-09-10T03:50:06.210Z
- Also known as: GHSA-jjhx-jhvp-74wq, BIT-RAILS-2024-26142
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rails rails: >= 7.1.0, < 7.1.3.1; from 7.1.0 up to 7.1.3.1
- actionpack (RubyGems): from 7.1.0 before 7.1.3.1
- rubyonrails rails: from 7.1.0 before 7.1.3.1
- rails (Bitnami): from 7.1.0 before 7.1.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: rating Low
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq> (vendor-advisory, web)
- <https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272> (patch, web)
- <https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946> (vendor-advisory, web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml> (third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20240503-0003/> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-26142> (advisory, web)
- <https://github.com/rails/rails> (package)

## Sources

- CVE List: [CVE-2024-26142](https://www.cve.org/CVERecord?id=CVE-2024-26142), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-jjhx-jhvp-74wq](https://github.com/advisories/GHSA-jjhx-jhvp-74wq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-26142](https://nvd.nist.gov/vuln/detail/CVE-2024-26142), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-RAILS-2024-26142](https://osv.dev/vulnerability/BIT-RAILS-2024-26142), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2024-26142 · Whole record: https://cve.day/CVE-2024-26142.json · Rebuilt by cve.day 2026-11-25T22:58:37.084Z
