Intel

AIKIDO-2026-952942

activestorage is vulnerable to Insufficient Verification of Data Authenticity

GHSA-3w93-6hmw-whh4Published 3 days ago
November 4, 2026

47

CVE Score

Medium

Insufficient Verification of Data Authenticity

Are you affected? Scan for Free

TL;DR

When a Google Cloud Storage service in activestorage is configured with cache_control, direct-upload URLs are signed with V4 and the signature covers only Cache-Control and Host. A direct-upload client can send its own Content-Type and skip the declared Content-MD5 without invalidating the URL. Cloud Storage then stores that content type, so the object can be served as inline HTML on the storage origin and can register a service worker for the bucket path. The fix signs every GCS direct upload with V2, which binds an empty Content-Type and the declared Content-MD5.

How do I fix this?

Upgrade the activestorage library to the patch version or remove the cache_control option from the GCS service configuration.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application uses the Google Cloud Storage service with cache_control and accepts direct uploads.

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 Insufficient Verification of Data Authenticity 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