CVE-2026-33169: rails activesupport · Uncontrolled Resource Consumption
Affects rails activesupportSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · fixed in 8.1.2.1 : update rails activesupport when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.1.2.1, 8.0.4.1, 7.2.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade rails activesupport to 8.1.2.1, 8.0.4.1 or 7.2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsactivesupport | Affected
| Fixed in
|
| railsactivesupport | Affected
| Fixed in
|
| railsactivesupport | Affected
| Fixed in
|
RubyGemsactivesupportpkg:gem/activesupportOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-33169, organizations should immediately upgrade Active Support to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later, where the regular expression inefficiency has been fixed. For environments where immediate upgrading is not feasible, consider implementing input validation or limiting the length of numeric strings processed by NumberToDelimitedConverter to reduce the risk of triggering the quadratic behavior. Monitoring application performance and setting resource usage thresholds can help detect exploitation attempts early. Additionally, employing web application firewalls (WAFs) to detect and block suspicious input patterns targeting this vulnerability can provide a temporary protective layer. Developers should review their use of Active Support’s number formatting features and avoid processing untrusted or excessively long digit strings without proper sanitization. Regularly auditing dependencies and applying security patches promptly is critical to maintaining resilience against such resource exhaustion attacks.
Description
Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. `NumberToDelimitedConverter` uses a lookahead-based regular expression with `gsub!` to insert thousands delimiters. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, the interaction between the repeated lookahead group and `gsub!` can produce quadratic time complexity on long digit strings. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
References
- github.com/rails/rails/security/advisories/GHSA-cg4j-q9v8-6v38 (opens in a new tab)
- github.com/rails/rails/commit/29154f1097da13d48fdb3200760b3e3da66dcb11 (opens in a new tab)
- github.com/rails/rails/commit/b54a4b373c6f042cab6ee2033246b1c9ecc38974 (opens in a new tab)
- github.com/rails/rails/commit/ec1a0e215efd27a3b3911aae6df978a80f456a49 (opens in a new tab)
- github.com/rails/rails/releases/tag/v7.2.3.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.4.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.2.1 (opens in a new tab)