CVEfocus › CVE database › CVE-2026-126080

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

CVSS 7.5 HighEPSS 0.8% (higher than 53% of CVEs)Published 2026-11-10Updated 2026-11-12Assigner: GitHub_M

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.

CWE-74

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
6Fix pending
2Under investigation
22Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10railsFix pendingUBUNTU-CVE-2026-126080
Ubuntu 26.04railsUnder investigationUBUNTU-CVE-2026-126080
Ubuntu 24.04railsUnder investigationUBUNTU-CVE-2026-126080
Ubuntu 22.04railsFix pendingUBUNTU-CVE-2026-126080
Ubuntu 20.04railsFix pendingUBUNTU-CVE-2026-126080
Ubuntu 18.04railsFix pendingUBUNTU-CVE-2026-126080
Ubuntu 16.04railsFix pendingUBUNTU-CVE-2026-126080
Debian 14railsFixed2:7.2.4+dfsg-3DEBIAN-CVE-2026-126080
Debian 13railsFix pendingDEBIAN-CVE-2026-126080
Debian 12railsFixed2:6.1.7.10+dfsg-1~deb12u4DEBIAN-CVE-2026-126080
Red Hat Enterprise Linux 9rubyNot affected
Red Hat Enterprise Linux 9ruby-default-gemsNot affected
Red Hat Enterprise Linux 9ruby-develNot affected
Red Hat Enterprise Linux 9ruby-docNot affected
Red Hat Enterprise Linux 9ruby-libsNot affected
Red Hat Enterprise Linux 9rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 9rubygem-bundlerNot affected
Red Hat Enterprise Linux 9rubygem-io-consoleNot affected
Red Hat Enterprise Linux 9rubygem-irbNot affected
Red Hat Enterprise Linux 9rubygem-jsonNot affected
Red Hat Enterprise Linux 9rubygem-minitestNot affected
Red Hat Enterprise Linux 9rubygem-power_assertNot affected
Red Hat Enterprise Linux 9rubygem-psychNot affected
Red Hat Enterprise Linux 9rubygem-rakeNot affected
Red Hat Enterprise Linux 9rubygem-rbsNot affected
Red Hat Enterprise Linux 9rubygem-rdocNot affected
Red Hat Enterprise Linux 9rubygem-rexmlNot affected
Red Hat Enterprise Linux 9rubygem-rssNot affected
Red Hat Enterprise Linux 9rubygem-test-unitNot affected
Red Hat Enterprise Linux 9rubygem-typeprofNot affected
Red Hat Enterprise Linux 9rubygemsNot affected
Red Hat Enterprise Linux 9rubygems-develNot affected
RubyGems libraryactivesupportFixed8.1.4.1GHSA-8474-xrp6-wh69

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.