AI Science Tracker

Rails safe_constantize can compile attacker-controlled regular expressions and crash the server

Ruby on Rails Active Support / Action Cable · AI involvement attributed to Anthropic OSS Scanner (model unspecified)

Finding and attribution

When constant lookup raises LoadError, safe_constantize compiles a regular expression from the requested constant name without escaping it. An application that passes untrusted input can allow crafted patterns to crash the server process. The advisory specifically identifies the default Action Cable channel subscription as an unauthenticated path; applications without that endpoint or with authentication checks have different exposure.

Product: Ruby on Rails Active Support / Action Cable. AI system: Anthropic OSS Scanner (model unspecified). Team / organization: Anthropic and Rails maintainers.

CVE identifiers: CVE-2026-126080.

AI and human contribution (source account): The Rails advisory says the issue was also found by the Anthropic OSS Scanner, identified as ANT-2026-ZUN5KU3Q. It separately credits other researchers; the advisory does not describe the scanner model or its exact validation process.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: The maintainer published GHSA-8474-xrp6-wh69 on 2026-11-04 and lists CVE-2026-126080. This record makes no exploitation-in-the-wild or zero-day claim.

Remediation status: fix documented. The advisory lists Active Support 8.0.5.2 and 8.1.4.1 as patched and supplies patches. It offers disabling the Action Cable mount or requiring authentication as mitigations; the latter limits but does not remove exposure if authenticated users can reach the path.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 4 Nov 2026. AI attribution dated 4 Nov 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: High · highest recorded score 7.5. Documented technical effects: denial of service.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

CVE-2026-126080: denial of service.
Prerequisites / affected scope: Crafted untrusted constant-name patterns can trigger defects in Ruby regular-expression compilation, possibly crashing the server; repeated requests could keep the application unavailable. Reachable to unauthenticated clients only when the app mounts Action Cable, accepts untrusted connections, and adds no authentication check..
Exploitation evidence: Exploitation in the wild is not established by the cited description.. Impact source · checked 16 Nov 2026.

Documented fix: The advisory lists Active Support 8.0.5.2 and 8.1.4.1 as patched and supplies patches. It offers disabling the Action Cable mount or requiring authentication as mitigations; the latter limits but does not remove exposure if authenticated users can reach the path.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases