๐Ÿ” CVE Alert

CVE-2026-126073

MEDIUM 4.8

Action Pack: Possible cache poisoning in Action Pack content negotiation

CVSS Score
4.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-436
Vendor rails
Product rails
Published Nov 10, 2026
Stay Ahead of the Next One

Get instant alerts for rails rails

Be the first to know when new medium vulnerabilities affecting rails rails are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

rails / rails
>= 8.1, < 8.1.4.1 < 8.0.5.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/rails/rails/security/advisories/GHSA-r9jg-fmfx-2gv6 github.com: https://github.com/rails/rails/commit/7a955ca36779938267c93902c47d1f55bab99b4b github.com: https://github.com/rails/rails/commit/b58c107abe9c1f10c1d6a4941402c60e4dc4742c github.com: https://github.com/rails/rails/releases/tag/v8.0.5.2 github.com: https://github.com/rails/rails/releases/tag/v8.1.4.1