CVE-2026-126073
Last modified
CVE-2026-126073 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| rails | rails | >= 8.1, < 8.1.4.1; < 8.0.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126073?
How severe is CVE-2026-126073?
How do I fix CVE-2026-126073?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126067Action Pack is a framework for handling and responding to we…3.1
- CVE-2026-126068Action Mailbox routes incoming emails to controller-like mai…3.7
- CVE-2026-126069Action View is a framework for handling view template lookup…4.7
- CVE-2026-126070Action View is a framework for handling view template lookup…6.1
- CVE-2026-126071Active Storage makes it simple to upload and reference files…5.3
- CVE-2026-126072Action Pack is a framework for handling and responding to we…5.9
- CVE-2026-126074Active Storage makes it simple to upload and reference files…4.3
- CVE-2026-126075Active Support is a collection of utility classes and standa…4.7
- CVE-2026-126076Action Pack is a framework for handling and responding to we…4.2
- CVE-2026-126077Action Pack is a framework for handling and responding to we…6.8
- CVE-2026-126078Action View is a framework for handling view template lookup…6.1
- CVE-2026-126079Action View is a framework for handling view template lookup…6.1
Are you affected by CVE-2026-126073?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
