← Vulnerabilities

MediumAdvisoryRubyRuby on Rails

Action Pack: Possible cache poisoning in Action Pack content negotiation

Affected

PackageAffected versionsFixed in
rubygems:actionpack>= 8.1, < 8.1.4.18.1.4.1
rubygems:actionpack< 8.0.5.28.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 re…

Read on GitHub Advisory Database

On 11/11/2026, 06:26 AM, GitHub Advisory Database published "Action Pack: Possible cache poisoning in Action Pack content negotiation" (type: Advisory). Severity is "Medium" (medium). Related technologies: Ruby, Ruby on Rails. CVE: CVE-2026-126073.