Skip to content
Threat Brief

← All advisories

CVE-2026-126073

Medium 4.8No known exploitationFix available

Action Pack: Possible cache poisoning in Action Pack content negotiation

Vendor advisory: GHSA-r9jg-fmfx-2gv6

Record last updated

CVSS score

4.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.4%

Higher than 37% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

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.

Weakness: CWE-436

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
msrc.microsoft.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Microsoftazl4 rubygem-actionpack 1:8.0.2-6.azl4 on Azure Linux 4.0Not documentedNot documentedMicrosoft MSRC
railsrails< 8.0.5.2Not documentedCVE Program
railsrails>= 8.1, < 8.1.4.1Not documentedCVE Program
rubygemsactionpackfrom 8.1 before 8.1.4.18.1.4.1GitHub Advisory Database
rubygemsactionpackall versions before 8.0.5.28.0.5.2GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references