CVE-2026-126073
Published:November 10, 2026
Updated:November 12, 2026
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.
Affected Packages
https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v6.1.0.rc1 <v8.0.5.2 || >=v7.0.0.alpha1 <v8.0.5.2 || >=v8.0.0.alpha1 <v8.0.5.2Fix Suggestion:
Update to version v8.0.5.2https://github.com/rails/rails.git (GITHUB):
Affected version(s) >=v8.1.0.beta1 <v8.1.4.1Fix Suggestion:
Update to version v8.1.4.1actionpack (RUBY):
Affected version(s) >=6.1.0.rc1 <8.0.5.2 || >=7.0.0.alpha1 <8.0.5.2 || >=8.0.0.beta1 <8.0.5.2Fix Suggestion:
Update to version 8.0.5.2actionpack (RUBY):
Affected version(s) >=8.1.0.beta1 <8.1.4.1Fix Suggestion:
Update to version 8.1.4.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Interpretation Conflict
EPSS
Base Score:
0.42