Skip to main content

Active Storage EUVDEUVD-2026-122995

| CVE-2026-126071 MEDIUM
Missing Release of Resource after Effective Lifetime (CWE-772)
2026-11-10 security-advisories@github.com GHSA-4v2w-w6g6-f8f8
5.3
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Request proxied blob download via default routes
  2. Delivery
    Storage error raised after first chunk written
  3. Exploit
    Committed response's Live buffer left unclosed
  4. Execution
    Worker thread blocks until process restart
  5. Persist
    Repeat requests to exhaust thread pool
  6. Impact
    Denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup on lifecycle end
Exploitation Conditions

Exploitable only when ALL of the following hold: the application uses Active Storage's proxy controllers and draws Active Storage's default routes (these proxy routes are drawn whether or not proxy mode is the application default); files are stored on a backend that streams a download across several requests - Amazon S3, an S3-compatible service, or Google Cloud Storage; and a storage error occurs AFTER the first chunk of a download has been written (for example a blob deleted while it is being served, or any other mid-stream storage error). Affected versions are Rails 8.0 up to but not including 8.0.5.2 and 8.1 up to but not including 8.1.4.1. LIMITING FACTORS: an error raised before the response is committed still yields a safe 404/500, so only post-first-chunk failures trigger the thread hang (reflected in AC:H); backends that do not multi-request stream downloads are not affected in the same way; and the CVSS vector lists PR:L, so some privilege/access is assumed rather than fully unauthenticated triggering. The complete fix is upgrading to 8.0.5.2 or 8.1.4.1 (backport patches exist for those who cannot upgrade at once).

Impact

This is a genuine but moderate-priority availability issue, not a high-impact emergency. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.3) and CWE-772 (missing release of resource) are internally consistent with the mechanism described in the GHSA advisory and the patch diff: an ActionController::Live buffer is never closed when a storage error is raised after the response is committed, blocking the worker thread until process restart, and repeated failures can exhaust the thread pool. The impact metrics are availability-only (C:N/I:N), which directly contradicts the input Tag 'Information Disclosure' - there is no confidentiality impact, so that tag is mislabeled. AC:H reflects that the flaw only triggers when a storage error occurs after the first chunk has been written (e.g. a file deleted mid-serve or a transient backend error), a condition the attacker does not fully control. No EPSS score is provided in the input, the CVE is not listed in CISA KEV, and no public exploit or PoC reference is present; the issue was found internally by the Anthropic OSS Scanner (ANT-2026-FMPUMYTB). The vuln.today Decision label is 'this_month', consistent with a patchable medium-severity DoS rather than act_now/emergency. Net: a real priority for Rails apps running Active Storage proxy mode on S3/GCS-style backends, but to be scheduled rather than treated as an exploited-in-the-wild crisis.

Exploit ScenarioDerived

An attacker (or ordinary traffic) repeatedly requests files through Active Storage's proxy controller where the backend (Amazon S3, an S3-compatible service, or Google Cloud Storage) streams the download across multiple requests; if the stored object is deleted or the storage service errors after the first chunk has been sent, the committed response's Live buffer is never closed and the handling thread blocks permanently. Repeating this ties up worker threads until the pool is exhausted and the process must restart, producing denial of service. No public exploit or PoC code is identified in the input; the trigger requires an error to land after the first chunk, which AC:H reflects.

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

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

Alert me

AnalysisAIv1 – Nov 11, 2026

Active Storage in Rails 8.0 (before 8.0.5.2) and 8.1 (before 8.1.4.1) can leak server threads when a storage error interrupts a proxied download, allowing thread exhaustion and denial of service on applications that draw the default Active Storage routes and stream files from Amazon S3, S3-compatible services, or Google Cloud Storage. When the failure happens after the first chunk is written, the error handler calls head on an already-committed response, leaving the original ActionController::Live buffer open so the request thread blocks until the process restarts. Repeated failing downloads could exhaust the thread pool; the CVSS 3.1 vector is AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (5.3), with some privilege level assumed and the high attack-complexity reflecting the narrow post-first-chunk timing window. No public exploit code has been identified at time of analysis and the issue is not listed in CISA KEV, though vendor fixes and backport patches are available.

RemediationAI

Vendor-released patch: upgrade to Rails 8.1.4.1 (activestorage 8.1.4.1) or Rails 8.0.5.2 (activestorage 8.0.5.2); release notes are at 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-provided backport patches: https://github.com/rails/rails/commit/3c67a693fb21870ecb1222e3da59d5c491a62009.patch for the 8.1 branch and https://github.com/rails/rails/commit/655b4442de136a3701334607f634d698bf9d5b82.patch for the 8.0 branch. The fix changes send_blob_stream so that a storage error raised after the response is committed is re-raised rather than answered with head :internal_server_error, which closes the ActionController::Live buffer and releases the thread; the trade-off is that clients in that situation get a truncated body instead of a synthetic 404/500, and the exception is surfaced to the application's error reporting. The advisory states that updating to 8.1.4.1 or 8.0.5.2 is the complete fix, and errors raised before the response is committed continue to return a normal 404 or 500 after patching.

Affected VersionsENISA

rails 8.1, < 8.1.4.1
rails 8.0, < 8.0.5.2

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

The flaw lives in ActiveStorage::Streaming#send_blob_stream, the code path used by the Active Storage proxy controllers (ActiveStorage::Blobs::ProxyController and the redirect/proxy variants used for attachments). Active Storage streams downloads through ActionController::Live, which allocates a Live::Buffer per request and hands it to the Rack server for chunked delivery. Storage backends that serve a file in multiple HTTP requests - Amazon S3, S3-compatible services and Google Cloud Storage - download in chunks, so a mid-transfer error (a blob deleted while it is being served, or any other storage-service exception) can be raised after the first chunk has already been flushed and the response marked committed. The vulnerable code called expires_now and head :internal_server_error unconditionally; once the response is committed, head rewrites the body but the Live buffer is never closed, so the server thread stays blocked on it indefinitely. That is the CWE-772 (Missing Release of Resource after Effective Lifetime) resource-leak class: each failed download permanently consumes one request-handling thread. The upstream fix checks response.committed? and re-raises instead of calling head, so the stream is closed, the thread is released, the client receives a truncated body, and the exception reaches the application's error reporting. Errors raised before the response is committed still return the normal 404 or 500. The commit's tests explicitly cover both HTTP/1.0 and HTTP/1.1 and assert that every Live::Buffer is closed afterwards.

Know when Ruby On 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 5.3 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.3 MEDIUM

Network-reachable proxy endpoint but trigger depends on a storage error landing after the first chunk (AC:H) and some access to induce it (PR:L); impact is thread exhaustion, so A:H only with C:N/I:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

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

DescriptionCVE.org

Active Storage makes it simple to upload and reference files in cloud services and attach those files to Active Record objects. From 8.0 until 8.0.5.2 and 8.1.4.1, when Active Storage serves a file through its proxy controllers, ActiveStorage::Streaming#send_blob_stream handles an error from the storage service by calling head to send a 404 or 500 response. If the error occurs after the first chunk has been written, the response is already committed, and head replaces the response body while the server is still reading the original ActionController::Live buffer. That buffer is never closed, so the server thread handling the request blocks until the process restarts. Repeated failed downloads could exhaust the server's threads, possibly resulting in a DoS vulnerability. Applications are affected when they store files on a service that streams a download in several requests, such as Amazon S3, an S3-compatible service or Google Cloud Storage, and draw Active Storage's default routes. The proxy routes are drawn whether or not proxy mode is the default for the application. A file deleted while it is being served, or any other storage error partway through a download, triggers the condition. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
High
Active Storage is a core component of Ruby on Rails, a widely deployed web framework
Threat Intel
1
1 sources
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 No
EPSS 0.4%
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
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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-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-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2026-109391 CRITICAL POC
9.2 Oct 12

Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two

CVE-2017-17919 HIGH POC
8.1 Dec 29

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

CVE-2017-17920 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'reorder' 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

CVE-2012-2695 HIGH POC
7.5 Jun 22

The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly

CVE-2013-0277 CRITICAL
10.0 Feb 13

ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or

CVE-2026-94462 HIGH POC
7.1 Sep 22

Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car

Vendor StatusVendor

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