## Active Support: Possible DoS vulnerability in Active Support safe_constantize

- 種別: advisory
- 重大度: high
- 関連技術: ruby, rails
- CVE: CVE-2026-126080
- 公開日時: 2026-11-10T21:34:11.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-8474-xrp6-wh69)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-8474-xrp6-wh69

影響: rubygems:activesupport >= 8.1.0.beta1, < 8.1.4.1 → 8.1.4.1, rubygems:activesupport < 8.0.5.2 → 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 unavailabl…