rails/rails
Functions and files changed by CVE fixes in this repository.
Latest located fix
Overview
94 published CVEs have a fix traced to functions in rails/rails, the earliest published in 2008. Those fixes changed 214 distinct functions across 111 files, in 600 patch hunks.
Among the 11,752 repositories tracked here, rails/rails ranks #41 by the number of CVEs with a located fix.
Most patched functions
Functions in rails/rails changed by the most distinct patches.
- 1deep_mungeactionpack/lib/action_dispatch/http/request.rb5 patches · 3 CVEs2012 to 2013
- 2build_directiveactionpack/lib/action_dispatch/http/content_security_policy.rb4 patches · 1 CVE2024
- 3build_directivesactionpack/lib/action_dispatch/http/content_security_policy.rb4 patches · 1 CVE2024
- 4parameter_filter_foractionpack/lib/action_dispatch/http/filter_parameters.rb4 patches · 1 CVE2024
- 5callactionpack/lib/action_dispatch/http/content_security_policy.rb4 patches · 1 CVE2022
- 6tagactionview/lib/action_view/helpers/tag_helper.rb4 patches · 1 CVE2022
- 7html_responseactionpack/lib/action_dispatch/http/content_security_policy.rb4 patches · 1 CVE2022
- 8tag_optionactionview/lib/action_view/helpers/tag_helper.rb4 patches · 1 CVE2022
- 9tag_stringactionview/lib/action_view/helpers/tag_helper.rb4 patches · 1 CVE2022
- 10simple_formatactionpack/lib/action_view/helpers/text_helper.rb3 patches · 3 CVEs2011 to 2021
- 11selfactiverecord/lib/active_record/relation/predicate_builder.rb3 patches · 3 CVEs2012 to 2013
- 12auto_link_urlsactionpack/lib/action_view/helpers/text_helper.rb3 patches · 2 CVEs2011 to 2021
- 13parseactivesupport/lib/active_support/xml_mini/jdom.rb3 patches · 2 CVEs2013 to 2015
- 14number_to_currencyactionpack/lib/action_view/helpers/number_helper.rb3 patches · 2 CVEs2013 to 2014
- 15translateactionpack/lib/action_view/helpers/translation_helper.rb3 patches · 2 CVEs2011 to 2013
Most patched files
Files in rails/rails changed by the most CVE fixes.
- 1activesupport/lib/active_support/core_ext/string/output_safety.rb6 CVEs · 9 functions
- 2actionpack/lib/action_dispatch/http/request.rb5 CVEs · 5 functions
- 3activerecord/lib/active_record/base.rb4 CVEs · 4 functions
- 4actionpack/lib/action_view/helpers/text_helper.rb3 CVEs · 9 functions
- 5actionpack/lib/action_controller/metal/http_authentication.rb3 CVEs · 5 functions
- 6activerecord/lib/active_record/relation/query_methods.rb3 CVEs · 5 functions
- 7activerecord/lib/active_record/relation/predicate_builder.rb3 CVEs · 2 functions
- 8activestorage/lib/active_storage.rb3 CVEs · 1 functions
- 9actionpack/lib/action_dispatch/http/mime_type.rb2 CVEs · 8 functions
- 10actionpack/lib/action_view/helpers/number_helper.rb2 CVEs · 7 functions
Fix size
How much code a CVE fix in rails/rails changes, with backports counted once.
Latest CVEs
The most recently published CVEs with a fix located in rails/rails, and the functions each fix changed.
- Critical · CVSS 9.5EPSS 30.1%2026-07-30
- Medium · CVSS 6.6EPSS 0.7%2026-03-23
- High · CVSS 8.0EPSS 0.6%2026-03-23
- CVE-2026-33176valid_bigdecimalMedium · CVSS 6.6EPSS 0.9%2026-03-23
- Medium · CVSS 6.6EPSS 0.6%2026-03-23
- Medium · CVSS 5.3EPSS 0.4%2026-03-23
- Medium · CVSS 5.3EPSS 0.3%2026-03-23
- Medium · CVSS 6.9EPSS 0.7%2026-03-23
- Low · CVSS 2.3EPSS 0.7%2026-03-23
- Low · CVSS 1.3EPSS 0.3%2026-03-23
- CVE-2025-24293ActiveStorageCritical · CVSS 9.2EPSS 5.6%2026-01-30
- Medium · CVSS 5.3EPSS 0.6%2025-08-13
Get an alert for each new rails/rails CVE, with the patched functions and AI-written analysis.
Monitor these CVEsOther repositories
Repositories with a similar number of located CVE fixes.
Frequently asked questions
Common questions about CVE fixes in rails/rails.
- How many CVEs have a located fix in rails/rails?
- 94 published CVEs have a fix traced to functions in rails/rails, touching 214 functions across 111 files.
- Which function in rails/rails has been patched most often?
- deep_munge in actionpack/lib/action_dispatch/http/request.rb has been changed by 5 distinct patches, fixing 3 CVEs, from 2012 to 2013.
- How large is a typical CVE fix in rails/rails?
- The median fix changes 16 lines. 59% of fixes change 20 lines or fewer, and 36% change a single function.
- How is a fix located to a function?
- The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.
References
- rails/rails on GitHub (opens in a new tab)
- Patched functions directory
- CWE directory: the weakness types behind these fixes
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track rails/rails CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.