# CVE-2026-126080: Active Support: Possible DoS vulnerability in Active Support safe_constantize

- 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.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2026-11-10T21:04:44.528Z
- Modified: 2026-11-12T22:09:39.233Z
- Also known as: GHSA-8474-xrp6-wh69
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- rails rails: >= 8.1, < 8.1.4.1; < 8.0.5.2
- activesupport (RubyGems): from 8.1.0.beta1 before 8.1.4.1; before 8.0.5.2

## 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: 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`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-8474-xrp6-wh69> (web)
- <https://github.com/rails/rails/commit/210ac22d446c8e2625b091e79256806b836eee20> (web)
- <https://github.com/rails/rails/commit/95aa9e416016524956d4904fed96eaed079580bb> (web)
- <https://github.com/rails/rails/releases/tag/v8.0.5.2> (web)
- <https://github.com/rails/rails/releases/tag/v8.1.4.1> (web)
- <https://github.com/rails/rails> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/GHSA-8474-xrp6-wh69.yml> (web)

## Sources

- CVE List: [CVE-2026-126080](https://www.cve.org/CVERecord?id=CVE-2026-126080), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-8474-xrp6-wh69](https://github.com/advisories/GHSA-8474-xrp6-wh69), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-126080](https://nvd.nist.gov/vuln/detail/CVE-2026-126080), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-126080 · Whole record: https://cve.day/CVE-2026-126080.json · Rebuilt by cve.day 2026-11-25T22:59:50.276Z
