CVE-2026-126080
Last modified
CVE-2026-126080 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | >= 8.1, < 8.1.4.1; < 8.0.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126080?
How severe is CVE-2026-126080?
How do I fix CVE-2026-126080?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126074Active Storage makes it simple to upload and reference files…4.3
- CVE-2026-126075Active Support is a collection of utility classes and standa…4.7
- CVE-2026-126076Action Pack is a framework for handling and responding to we…4.2
- CVE-2026-126077Action Pack is a framework for handling and responding to we…6.8
- CVE-2026-126078Action View is a framework for handling view template lookup…6.1
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
- CVE-2026-126081Action Pack is a framework for handling and responding to we…7.5
- CVE-2026-126082Rejected reason: This CVE is a duplicate of another CVE.
- CVE-2026-126083Action Pack is a framework for handling and responding to we…7.4
- CVE-2026-126084Active Storage makes it simple to upload and reference files…4.7
- CVE-2026-126085Active Storage makes it simple to upload and reference files…5.3
- CVE-2026-126087Untrusted search path in the cross-user process launcher in …8.8
Are you affected by CVE-2026-126080?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
