Skip to main content

Rails Action Pack CVE-2026-126073

| EUVDEUVD-2026-123003 MEDIUM
Interpretation Conflict (CWE-436)
2026-11-10 security-advisories@github.com GHSA-r9jg-fmfx-2gv6
4.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Send public cacheable request without Accept header
  2. Exploit
    Response omits Vary: Accept for its representation
  3. Execution
    Shared cache stores the mis-keyed variant
  4. Impact
    Later clients served wrong representation until expiry

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
Exploitation Conditions

Exploitation requires a specific, non-default deployment: the application must render format-negotiated responses from actions explicitly marked public (for example expires_in ..., public: true) AND sit behind a shared cache that honours Vary, such as Thruster or Rack::Cache. The flawed responses are those negotiated without a usable Accept header, XHR requests, or responses where the application already set a Vary value (e.g. Vary: Accept-Language) before rendering, since ActionController::Rendering#_set_vary_header then fails to add Accept. Limiting factors: affected only on actionpack >= 8.1, < 8.1.4.1 and < 8.0.5.2; no effect without a shared Vary-honouring cache or without public caching enabled; the attacker cannot control the substituted content, and impact is bounded to serving a wrong cached representation until the cache entry expires.

Impact

All severity signals point to a genuine but low-priority issue. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L, base 4.8 Medium) describes a network-reachable, unauthenticated (PR:N) flaw with high attack complexity (AC:H) because exploitation depends on a specific caching deployment rather than on the request alone; impact is limited to low integrity and low availability with no confidentiality loss (C:N), consistent with CWE-436 (interpretation conflict) and the advisory's note that the attacker cannot choose the response content. No EPSS score, KEV listing, or PoC/exploit reference is present in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today Decision label is 'this_month', aligning with the Medium severity and the absence of exploitation signals - this is a hygiene/hardening fix to schedule, not an emergency. One signal to weigh carefully: the input Tags label this 'Information Disclosure', but the mechanism is cache poisoning of content-negotiated representations (a client may receive a page without its layout, or HTML where JSON was expected); because the attacker cannot control the cached content, this is a correctness/integrity and availability problem, not disclosure of sensitive data. The real-world risk is confined to applications that both mark negotiated responses public and sit behind a shared cache honouring Vary.

Exploit ScenarioDerived

An attacker (or even ordinary traffic) sends a request lacking an Accept header, or an XHR request, to an action that renders a negotiated response marked public (e.g. expires_in ..., public: true). Because Action Pack omits Accept from the Vary header for such requests, a shared cache like Thruster or Rack::Cache stores the HTML/JavaScript variant and then serves it to later clients that asked for a different representation (e.g. JSON), until the entry expires. No public exploit identified at time of analysis; the attacker cannot choose the substituted content.

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

Cache poisoning in Rails Action Pack (actionpack) 8.1 before 8.1.4.1 and 8.0 before 8.0.5.2 allows a shared cache that honours Vary to store a rendered response under an incomplete cache key and later serve that representation to clients requesting a different format - for example returning HTML or a layout-less page where JSON was expected. Unauthenticated remote attackers can trigger this (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L, 4.8) only where format-negotiated responses come from actions explicitly marked public (such as expires_in ..., public: true) and sit behind a Vary-honouring shared cache like Thruster or Rack::Cache. No public exploit code or confirmed active exploitation was identified at time of analysis; the attacker cannot choose the content that gets cached, and impact ends when the cache entry expires.

RemediationAI

Vendor-released patches are available: upgrade actionpack to 8.1.4.1 for the 8.1 branch or to 8.0.5.2 for earlier branches (release tags https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2). Organisations that cannot upgrade immediately can apply the vendor-supplied backport patches for 8.1 (https://github.com/rails/rails/commit/7a955ca36779938267c93902c47d1f55bab99b4b.patch) and 8.0 (https://github.com/rails/rails/commit/b58c107abe9c1f10c1d6a4941402c60e4dc4742c.patch). The documented workarounds are to set Vary: Accept, X-Requested-With explicitly on negotiated responses, for example in an after_action, or to stop marking negotiated responses public so shared caches do not store them at all - the latter removes caching benefit for those endpoints. Be aware that after applying the fix, shared caches will retain more variants of negotiated responses than previously, which can reduce hit rates and increase cache memory use.

Affected VersionsENISA

rails < 8.0.5.2
rails 8.1, < 8.1.4.1

Affected Packages

rubygems actionpack 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 root cause is CWE-436 (Interpretation Conflict) between Rails' content negotiation and the HTTP caching semantics implemented by downstream shared caches. Action Dispatch negotiates a response format from the Accept and X-Requested-With headers, plus Content-Type as a legacy fallback for XHR requests that omit Accept. ActionController::Rendering#_set_vary_header, however, only appended Vary: Accept when the request carried a usable Accept header and the response had no Vary header already set. Consequently three cases produced responses whose cache key did not cover the headers that actually selected the representation: requests without a usable Accept header, XHR requests, and responses where the application had pre-set a Vary value (for example Vary: Accept-Language) before rendering. The upstream fix rewrites this: rendering now derives a list of varying headers (Accept and X-Requested-With, plus Content-Type when the request is XHR without Accept; only X-Requested-With when config.action_dispatch.ignore_accept_header is enabled), splits any existing Vary value on commas, appends the missing fields case-insensitively without duplication, and leaves Vary: * untouched. A side effect called out in the advisory is that shared caches may store more variants of negotiated responses than before the patch.

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

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because it needs a public-caching, shared-Vary-cache deployment; no confidentiality loss (C:N), only low integrity/availability from a wrong cached page.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

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

DescriptionCVE.org

Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, Action Pack negotiates the format of a rendered response from the Accept, X-Requested-With and, for XHR requests without Accept, Content-Type request headers, but ActionController::Rendering#_set_vary_header adds Vary: Accept only when the request carries a usable Accept header and the response has no Vary header yet. A response to a request without Accept, or to an XHR request, therefore omits the headers that selected its representation, and a response whose Vary the application set before rendering (for example Vary: Accept-Language) never gains Accept. A shared cache that honours Vary could store such a response and serve it to later clients that request a different representation, possibly leading to cache poisoning in which visitors receive, until the entry expires, a page without its layout or HTML in place of JSON. The attacker cannot choose the content of the response. Applications that render negotiated responses from actions marked public (for example with expires_in ..., public: true) behind a shared cache that honours Vary, such as Thruster or Rack::Cache, are affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
High
Action Pack ships with 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

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
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.

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