Intel

AIKIDO-2026-52154

actionpack is vulnerable to Cache Poisoning

GHSA-r9jg-fmfx-2gv6Published Nov 4, 2026
November 4, 2026

48

CVE Score

Medium

Cache Poisoning

Are you affected? Scan for Free

TL;DR

actionpack chooses a response format from Accept, X-Requested-With, and sometimes Content-Type, but it adds Vary: Accept only when the request has a usable Accept header and the response has no Vary yet. A shared cache can store that response and serve it to a later client that asked for a different representation, such as HTML without its layout or HTML in place of JSON. The caller cannot choose the stored body. The fix lists the headers that selected the format in Vary, including when the application already set Vary.

How do I fix this?

Upgrade the actionpack library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application caches negotiated public responses behind a shared cache.

Package

Versions

0.9.0 - 8.0.5.1

Fixed in 8.0.5.2

8.1.0 - 8.1.4

Fixed in 8.1.4.1

Background info

actionpack is vulnerable to Cache Poisoning in versions 0.9.0 - 8.0.5.1 and 8.1.0 - 8.1.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea