Possible cache poisoning in Action Pack content negotiation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Action Pack from 8.1 before 8.1.4.1 and before 8.0.5.2 omits Vary headers on some negotiated responses. Responses to requests without an Accept header or to XHR requests lack the headers that selected their format (CWE-436). A shared cache that honours Vary can store such a response and serve it to later clients until the entry expires. The attacker cannot choose the content, and only applications that render negotiated responses from public actions are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | actionpack (RubyGems) | 8.1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-r9jg-fmfx-2gv6 |
| — | actionpack (RubyGems) | before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-r9jg-fmfx-2gv6 |
- rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- actionpack (RubyGems) Vendor— Affected 8.1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-r9jg-fmfx-2gv6
- actionpack (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-r9jg-fmfx-2gv6
Remediation
Upgrade Action Pack to 8.1.4.1 or 8.0.5.2, whichever matches the version in use, or upgrade Rails to the same versions. Red Hat lists 3scale API Management Platform 2 and Red Hat Satellite 6 as affected without a fix and with no available plan.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-r9jg-fmfx-2gv6 actionpack (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-r9jg-fmfx-2gv6 actionpack (RubyGems) Fixed in 8.0.5.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126073
- 2026-11-10 Alias added: GHSA-r9jg-fmfx-2gv6
- 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-r9jg-fmfx-2gv6
- 2026-11-10 CVSS score added · GHSA-r9jg-fmfx-2gv6
- 2026-11-10 Weakness changed · GHSA-r9jg-fmfx-2gv6
- 2026-11-10 7 new references · GHSA-r9jg-fmfx-2gv6
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-12 CISA SSVC decision points changed
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-r9jg-fmfx-2gv6
- https://github.com/rails/rails/commit/7a955ca36779938267c93902c47d1f55bab99b4b
- https://github.com/rails/rails/commit/b58c107abe9c1f10c1d6a4941402c60e4dc4742c
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-r9jg-fmfx-2gv6.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126073 · CVE Program
- CVE-2026-126073 · NVD
- FIRST EPSS
- GHSA-r9jg-fmfx-2gv6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-126073 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences