Skip to main content

Active Storage CVE-2026-126084

| EUVDEUVD-2026-122937 MEDIUM
Insufficient Verification of Data Authenticity (CWE-345)
2026-11-10 security-advisories@github.com GHSA-3w93-6hmw-whh4
4.7
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain direct-upload URL from app
  2. Delivery
    Upload object with forged Content-Type:text/html
  3. Exploit
    Object served as inline HTML on storage origin
  4. Execution
    Script registers Service Worker scoped to bucket path
  5. Persist
    Intercept victim's later signed-URL responses
  6. Impact
    Read or replace response content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
Exploitation Conditions

Exploitation requires a very specific configuration: the application must use the Active Storage GCS service with the cache_control option set AND must accept direct uploads - GCS services without cache_control sign with V2 and are not affected. The attacker must be able to obtain a valid direct-upload URL from the application (often implying an application-level account with upload permission), then supply an attacker-chosen Content-Type (e.g. text/html) and omit the declared Content-MD5, which the V4 signature does not bind. Delivery of impact additionally requires victim interaction (UI:R): the victim must later load the malicious object or a signed URL within the same bucket path so the registered Service Worker can act. Limiting factors: non-default configuration (cache_control must be explicitly set), AC:H, required victim interaction, and the fact that script runs on the storage.googleapis.com origin rather than the application origin - impact is confined to signed-URL responses within that bucket path. Affected versions: activestorage >= 8.1, < 8.1.4.1 and < 8.0.5.2.

Impact

This is a genuinely narrow, moderate-risk issue that scores correctly at CVSS 4.7 (Medium) and is best read as a real-but-conditional priority rather than an emergency. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N aligns well with the mechanism described: network-reachable, but high attack complexity (AC:H) because exploitation depends on a specific configuration - a GCS service with the cache_control option set that accepts direct uploads - and requires victim interaction (UI:R) to load the malicious object or a later signed URL. Scope is changed (S:C) because script executes on the storage.googleapis.com origin rather than the application's, and the confidentiality/integrity impact is Low/Low because a registered Service Worker can read or replace a victim's later signed-URL responses within that bucket path, not the application origin directly. No KEV listing and no EPSS score are provided, and the input lists no PoC or exploit reference - only a regression test inside the fix commit - so exploitation remains theoretical. The vendor priority label is this_month, consistent with a patch-on-your-normal-cycle Medium issue, not act_now. One caveat to verify: PR:N assumes an attacker can obtain a direct-upload URL without application authentication; many applications only issue direct-upload URLs to authenticated users, which would effectively raise the privilege bar in those deployments - verify against your own upload authorization. The Tags field labels this 'Information Disclosure,' but the Service-Worker response-replacement capability also implies an integrity/response-tampering dimension, matching the I:L in the vector and CWE-345 (insufficient verification of data authenticity).

Exploit ScenarioDerived

An attacker who can obtain a direct-upload URL from an affected application (GCS service with cache_control set) uploads an object while supplying Content-Type: text/html instead of the declared type, since the V4 signature only binds Cache-Control and Host. The object is later served as inline HTML from the application's bucket path on storage.googleapis.com; its script registers a Service Worker scoped to that bucket path and can then read or replace a victim's subsequent signed-URL responses in that bucket. No public exploit is identified at time of analysis - only a regression test ships with the fix.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Active Storage's Google Cloud Storage service, when the cache_control option is configured, signs direct-upload URLs with V4 signatures that bind only the Cache-Control and Host headers, so an uploader can substitute an arbitrary Content-Type (for example text/html) and omit the declared Content-MD5 without invalidating the URL. GCS then persists the attacker-supplied type as object metadata, which overrides the response-content-type Active Storage sets on download URLs, allowing an object to be served as inline HTML under the application's bucket path on storage.googleapis.com. Because the injected script runs on the storage origin, it can register a Service Worker scoped to that bucket path and read or replace a victim's later signed-URL responses, requiring victim interaction. Affected are activestorage releases >= 8.1 before 8.1.4.1 and releases before 8.0.5.2; GCS services without cache_control sign with V2 and are unaffected, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patches are available: upgrade activestorage to 8.1.4.1 (8.1 branch) or 8.0.5.2 (8.0 branch and earlier), as documented at https://github.com/rails/rails/security/advisories/GHSA-3w93-6hmw-whh4 and on the release pages https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2. Organizations that cannot upgrade immediately can apply the vendor-supplied backports: https://github.com/rails/rails/commit/8d93f6a872e9550a91bf0e4fce50083a235ef3b1.patch for 8.1 and https://github.com/rails/rails/commit/ddc08ba61a8001e7402864c62e466cf732fc7614.patch for 8.0. The documented workaround is to remove the cache_control option from the GCS service configuration, which makes Active Storage sign direct uploads with V2 and binds Content-Type and Content-MD5; the trade-off is that the configured Cache-Control value is no longer applied through the service configuration, whereas the fixed releases still send Cache-Control unsigned and lift the seven-day V4 expiry limit on direct-upload URLs.

Affected VersionsENISA

rails < 8.0.5.2
rails 8.1, < 8.1.4.1

Affected Packages

rubygems activestorage fix: 8.0.5.2, 8.1.4.1
euvd rails fix: 8.0.5.2, 8.1.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Active Storage is the file-attachment framework shipped with Ruby on Rails, and its GCSService generates signed PUT URLs that clients use to upload files directly to a Google Cloud Storage bucket, bypassing the application server. The root cause is CWE-345 (Insufficient Verification of Data Authenticity): signature schemes only protect the elements they actually cover. Under V4 signing, the URL signature covered just Cache-Control and Host, leaving Content-Type and Content-MD5 outside the authenticated payload; under V2 signing those two headers are bound into the string-to-sign, which is why the vulnerable code path deliberately switched to V4 whenever cache_control was present (V2 cannot sign non x-goog-* headers, but V4 caps URL lifetime at seven days). The fix moves every GCS direct upload to V2 signing: an empty Content-Type and the declared Content-MD5 are bound by the signature, the configured Cache-Control is still emitted by headers_for_direct_upload and sent by the client but is no longer signed, and direct-upload URL expiry is no longer limited to seven days. The security consequence of the missing binding is content-type confusion: the object is stored with attacker metadata and served as inline HTML from storage.googleapis.com, a different origin from the application, so a Service Worker registered against the bucket path can intercept subsequent signed-URL responses for that bucket.

Know when Rails gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Network-reachable but AC:H and UI:R due to the required cache_control configuration and victim loading; S:C as script runs on the storage origin; C:L/I:L for reading/replacing bucket signed-URL responses, A:N.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 22:20 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
MEDIUM 4.7

DescriptionCVE.org

Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. Prior to 8.1.4.1 and 8.0.5.2, when a GCS service is configured with the cache_control option, ActiveStorage::Service::GCSService#url_for_direct_upload signs direct-upload URLs with V4, and the V4 signature covers only the Cache-Control and Host headers. A direct-upload client can therefore send a Content-Type of its choosing, and can omit the declared Content-MD5, without invalidating the URL. GCS stores the supplied content type as object metadata, which takes precedence over the response-content-type that Active Storage sets on download URLs, so an uploaded object could be served as inline HTML under the application's bucket path on storage.googleapis.com. Script in such an object runs on the storage origin rather than the application's, but could register a Service Worker scoped to the bucket path and read or replace a victim's later responses for signed URLs in that bucket. Applications that use the GCS service with cache_control configured and accept direct uploads are affected. GCS services without cache_control sign with V2 and are not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
Rails Active Storage is widely deployed enterprise web framework component
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Rails

View all
CVE-2016-0752 HIGH POC
7.5 Feb 16

Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.

CVE-2013-0333 HIGH POC
7.5 Jan 30

lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly

CVE-2013-0156 HIGH POC
7.5 Jan 13

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, an

CVE-2016-2098 HIGH POC
7.3 Apr 07

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to e

CVE-2014-0130 HIGH
7.5 May 07

Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in

CVE-2013-6414 MEDIUM POC
5.0 Dec 07

actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allo

CVE-2019-5420 CRITICAL POC
9.8 Mar 27

A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess th

CVE-2020-8165 CRITICAL POC
9.8 Jun 19

A deserialization of untrusted data vulnernerability exists in rails < 5.2.4.3, rails < 6.0.3.1 that can allow an attack

CVE-2020-8163 HIGH POC
8.8 Jul 02

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the

CVE-2017-17917 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute

CVE-2017-17916 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut

CVE-2012-6496 HIGH POC
7.5 Jan 04

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy