Intel

AIKIDO-2026-31514

activemodel is vulnerable to Denial of Service (DoS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 6, 2026
October 6, 2026

53

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

ActiveModel::Type::Integer casts arbitrarily long numeric strings without bounding their size before conversion, so a single oversized string parameter drives disproportionate CPU work during casting. Any attribute typed as an integer that receives untrusted input can trigger this cost on every request that sets the attribute. The fix bounds the string length accepted for integer casting so oversized values are rejected instead of processed.

How do I fix this?

Upgrade the activemodel and/or the rails library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.0.0 - 8.1.3.1

Fixed in 8.1.4

Background info

activemodel is vulnerable to Denial of Service (DoS) in versions 3.0.0 - 8.1.3.1.

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