CVE-2026-126080
Published:November 10, 2026
Updated:November 16, 2026
Active Support is a collection of utility classes and standard library extensions used by Rails and other Ruby projects. Prior to 8.1.4.1 and 8.0.5.2, when constant lookup raises LoadError, ActiveSupport::Inflector#safe_constantize (and String#safe_constantize) builds a regular expression from the requested constant name without escaping it, so a caller that passes untrusted input lets the attacker choose the source of a pattern that the application compiles. Crafted patterns can trigger defects in Ruby's regular expression compiler, possibly leading to a crash of the server process, and repeated requests could keep the application unavailable. Action Cable passes the channel value of each subscribe command to safe_constantize before any channel lookup, so an unauthenticated client can reach this code when the application mounts Action Cable and accepts connections from untrusted clients without an added authentication check. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v5.2.3.rc1 <v8.0.5.2 || >=v6.0.0.beta1 <v8.0.5.2 || >=v7.0.0.alpha1 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2Fix Suggestion:
Update to version v8.0.5.2https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0.beta1 <v8.1.4.1Fix Suggestion:
Update to version v8.1.4.1activesupport (RUBY):
Affected version(s) >=8.0.0.beta1 <8.0.5.2 || >=5.2.3.rc1 <8.0.5.2 || >=7.0.0.alpha1 <8.0.5.2 || >=6.0.0.beta1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2activesupport (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.4.1Fix Suggestion:
Update to version 8.1.4.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements in Output Used by a Downstream Component
EPSS
Base Score:
0.83