Intel

AIKIDO-2026-939324

activesupport is vulnerable to Denial of Service (DoS)

GHSA-8474-xrp6-wh69Published Nov 4, 2026
November 4, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

safe_constantize in activesupport builds a regular expression from the requested constant name when lookup raises LoadError. Untrusted input can supply a pattern that crashes the Ruby process, and Action Cable passes each subscribe channel name through this method before authentication in the default configuration. Repeated requests can keep the process unavailable. The fix compares the constant name to the error message as a literal string and no longer compiles a regular expression.

How do I fix this?

Upgrade the activesupport library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and untrusted clients can reach safe_constantize, including the default Action Cable endpoint.

Versions

1.0.0 - 8.0.5.1

Fixed in 8.0.5.2

8.1.0 - 8.1.4

Fixed in 8.1.4.1

Background info

activesupport is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 8.0.5.1 and 8.1.0 - 8.1.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea