Intel

AIKIDO-2026-716362

activestorage is vulnerable to Validation Bypass

CVE-2026-126085Published Nov 4, 2026
November 4, 2026

53

CVE Score

Medium

Validation Bypass

Are you affected? Scan for Free

TL;DR

GCSService#url_for_direct_upload in activestorage does not bind the declared content length into the signed direct-upload URL, and the upload headers include no length constraint. A direct-upload client can store a body of any size while the blob keeps the declared byte_size, so application size checks and quotas are skipped. The fix signs an x-goog-content-length-range header that matches the declared size and returns it with the direct-upload headers.

How do I fix this?

Upgrade the activestorage 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 the application accepts direct uploads to Google Cloud Storage.

Versions

0.1 - 8.0.5.1

Fixed in 8.0.5.2

8.1.0 - 8.1.4

Fixed in 8.1.4.1

Background info

activestorage is vulnerable to Validation Bypass in versions 0.1 - 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