Active Storage Vulnerability in Google Cloud Storage by Rails
CVE-2026-126084

4.7MEDIUM

Key Information:

Vendor

Rails

Status
Vendor
CVE Published:
10 November 2026

What is CVE-2026-126084?

An improper validation issue affecting ActiveStorage allows unrestricted Content-Type during direct uploads to Google Cloud Storage (GCS). When configured with the cache_control option, the V4 signed URLs created can permit arbitrary content types without validation, enabling potential malicious HTML content to be stored. This could lead to a scenario where the uploaded object runs scripts at the storage origin, possibly leveraging a Service Worker to intercept further requests made to signed URLs under the application’s storage bucket. Fixes for this vulnerability are included in versions 8.1.4.1 and 8.0.5.2.

Affected Version(s)

rails >= 8.1, < 8.1.4.1 < 8.1, 8.1.4.1

rails < 8.0.5.2 < 8.0.5.2

References

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.