Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to unauthenticated Action Cable /cable endpoint
-
DeliverySend subscribe with crafted channel name
-
Exploitsafe_constantize builds attacker-controlled regex
-
ExecutionRuby regex compiler defect crashes worker process
-
ImpactRepeat requests to sustain unavailability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires that the application mounts Action Cable (new Rails applications do so by default at /cable via config.action_cable.mount_path) AND accepts Action Cable connections from untrusted clients, because ApplicationCable::Connection#connect authenticates nobody unless the application adds its own check; alternatively, any code path that passes untrusted input to safe_constantize / String#safe_constantize is exposed. The attacker needs only to send a subscribe command with a crafted 'channel' value - no authentication, user interaction, or privileges per CVSS. Limiting factors: applications that do not use Action Cable can set config.action_cable.mount_path = nil to remove the endpoint entirely; applications that use it can call reject_unauthorized_connection in ApplicationCable::Connection#connect, which restricts exposure to authenticated users but does not fully remove it. Impact is limited to availability (process crash / DoS); there is no code execution or data exposure. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) describes a network-reachable, low-complexity, unauthenticated flaw with availability-only impact - there is no confidentiality or integrity loss, so this is strictly a denial-of-service issue. The GHSA advisory confirms the mechanism: Action Cable passes the untrusted 'channel' value of each subscribe command to safe_constantize, which (before the fix) interpolated the name unescaped into a Regexp source, letting an attacker choose a pattern that Ruby's regex compiler then compiles, and crafted patterns can crash the server process. No EPSS score and no KEV status are present in the input, so exploitation-probability and active-exploitation signals are UNKNOWN rather than low - their absence should not be read as 'safe.' This is NOT in CISA KEV and is not confirmed as actively exploited. The vuln.today decision label is 'this_week,' indicating prompt but non-emergency remediation. The PR:N / default-mount combination raises real exposure, but the A:H-only impact and the precondition that the application must mount Action Cable and accept untrusted, unauthenticated client connections keep this below the tier of an RCE or data-breach emergency. Net: a genuine, patch-this-week availability risk for internet-facing Rails apps using Action Cable without a connection auth check, not a high-CVSS-but-irrelevant issue, but also not a confirmed-in-the-wild emergency. |
| Exploit ScenarioDerived | An unauthenticated client opens a WebSocket to the default Action Cable endpoint (/cable) and sends a subscribe command whose 'channel' value is a crafted constant name containing regular-expression syntax. safe_constantize interpolates that name unescaped into a Regexp the application compiles, triggering a defect in Ruby's regex compiler that crashes the server worker; the client repeats the request to keep the application unavailable. The advisory's credit states a reporter supplied a proof of concept that crashes the server, but it is reported privately and is not published as public exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Denial of service in the Rails Active Support gem: when a constant lookup raises LoadError, ActiveSupport::Inflector#safe_constantize (and String#safe_constantize) interpolates the caller-supplied constant name unescaped into a regular expression that the application then compiles, letting an attacker control pattern source and trigger defects in Ruby's regexp compiler that can crash the server process. Action Cable passes the channel value of every subscribe command to safe_constantize before any channel lookup, so a remote, unauthenticated client can reach the flaw when the application mounts Action Cable and accepts connections from untrusted clients. Affected versions are activesupport below 8.0.5.2 and 8.1.x releases before 8.1.4.1; the vendor credits a researcher who supplied a proof of concept that crashes the server, but no publicly available exploit code is confirmed at time of analysis, and impact is availability-only with no code execution or data exposure.
RemediationAI
Upgrade the activesupport gem to 8.1.4.1 (for the 8.1 branch) or 8.0.5.2 (for the 8.0 branch) as released at https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2. Teams that cannot upgrade immediately can apply the vendor-supplied backports: https://github.com/rails/rails/commit/95aa9e416016524956d4904fed96eaed079580bb.patch for 8.1 and https://github.com/rails/rails/commit/210ac22d446c8e2625b091e79256806b836eee20.patch for 8.0, both of which replace the unescaped regexp match in safe_constantize with a literal string comparison. Two workarounds are documented by the vendor: applications that do not use Action Cable can set config.action_cable.mount_path = nil to remove the endpoint entirely, which eliminates this reachable path but also disables any other Action Cable functionality; applications that do use Action Cable can call reject_unauthorized_connection in ApplicationCable::Connection#connect for unauthenticated clients, which limits exposure to authenticated users but does not remove it, and only covers the Action Cable path, not other callers that pass untrusted input to safe_constantize.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in rubygems, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ActiveSupport::Inflector#safe_constantize attempts to resolve a constant name and, instead of propagating every error, re-raises only LoadError instances whose message indicates that the specific constant could not be autoloaded. Prior to the fix, that decision was made by compiling /Unable to autoload constant #{const_regexp(camel_cased_word)}/ where const_regexp split the requested name on '::' and interpolated each segment into the pattern without Regexp.escape. Any caller that forwards untrusted input therefore chose the source of a regular expression the Ruby process compiles, the classic injection shape classified as CWE-74, and crafted patterns could trip defects in Ruby's regexp compiler and abort the server process. The upstream fix removes const_regexp entirely and replaces the regexp match with a literal message.include? check against the first non-empty '::'-separated segment of the constant name, preserving prior behavior for names without regexp syntax. The most prominent reachable path is Action Cable, which calls safe_constantize on the channel value of each subscribe command before resolving any channel class, meaning the vulnerable code executes even for channel names that do not exist; new Rails applications mount Action Cable at /cable by default via config.action_cable.mount_path, and ApplicationCable::Connection#connect performs no authentication unless the application adds it. Exploitation requires that endpoint to be reachable from untrusted clients, or any other application code path that passes untrusted input to safe_constantize.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Default-mounted Action Cable lets an unauthenticated remote client reach safe_constantize with low complexity (PR:N, AC:L, AV:N); impact is a process crash only, so C:N/I:N/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity denial-of-service vulnerability in the Rails Active Support gem (CVE-2026-126080) can crash servers in applications that mount Action Cable and accept unauthenticated WebSocket connections. This puts any customer-facing Rails deployment using Action Cable at risk of service outages, potentially disrupting revenue and eroding trust. Leadership should prioritize remediation because the flaw is remotely triggerable without authentication and no patch is yet available.
No vendor-released patch identified at time of analysis; interim mitigations include disabling Action Cable or limiting access to trusted networks, validating or allowlisting channel names before they reach safe_constantize, and applying upstream patches as soon as they become available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-122930
GHSA-8474-xrp6-wh69
NVD
CVE.org
EPSS
Exploit-DB