Intel

AIKIDO-2026-557438

actionpack is vulnerable to Cross-Site Request Forgery (CSRF)

GHSA-gmj8-hvj3-49mwPublished Nov 4, 2026
November 4, 2026

31

CVE Score

Low

Cross-Site Request Forgery (CSRF)

Are you affected? Scan for Free

TL;DR

Session stores in actionpack other than CookieStore write the session cookie without a SameSite attribute, even when cookies_same_site_protection is :lax. Only CookieStore applies that setting. In a browser that does not treat a missing attribute as Lax, a cross-site request can send the session cookie to actions that do not check an authenticity token. The fix sets SameSite from cookies_same_site_protection when the store options do not already include :same_site.

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 uses a session store other than CookieStore without an explicit same_site option.

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 Cross-Site Request Forgery (CSRF) 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