cve.bz

CVE-2026-126073 Action Pack: Possible cache poisoning in Action Pack content negotiation

4.8 mediumEPSS 0.4%Fix available

Medium (4.8) in rails rails. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 8.0.5.2, 8.1.4.1.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS
0.4% estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-436 Interpretation Conflict
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126073 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126073?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126073?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126073 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126073

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126073](https://cve.bz/cve/badge/CVE-2026-126073.svg)](https://cve.bz/cve/CVE-2026-126073)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126073"><img src="https://cve.bz/cve/badge/CVE-2026-126073.svg" alt="CVE-2026-126073"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rails>= 8.1, < 8.1.4.1
rails< 8.0.5.2

Fix and patched versions

  • actionpack (RubyGems): fixed in 8.1.4.1, 8.0.5.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r9jg-fmfx-2gv6RubyGemsactionpack>=8.1 <8.1.4.18.1.4.1
GHSA-r9jg-fmfx-2gv6RubyGemsactionpack<8.0.5.28.0.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14railsno fix listedDEBIAN-CVE-2026-126073
Ubuntu24.04:LTS, 26.04:LTS, 26.10 and 4 morerailsno fix listedUBUNTU-CVE-2026-126073

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON