Loading advisory.
Loading advisory.
Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores
Action Pack session stores other than ActionDispatch::Session::CookieStore (CacheStore, MemCacheStore, and third-party stores built on AbstractStore, AbstractSecureStore or the session mixins) write the session cookie without a SameSite attribute, regardless of…
Published 2026-11-10 20:29 UTC · Modified 2026-11-13 16:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| actionpack | RubyGems | >= 8.1.0.beta1, < 8.1.4.1 < 8.0.5.2 versions 8.1.0, 8.1.0.beta1, 8.1.0.rc1, 8.1.1, 8.1.2, 8.1.2.1, 8.1.3, 8.1.3.1, 8.1.4, 0.9.0, 0.9.5, 1.0.0, 1.0.1, 1.1.0, 1.10.1, 1.10.2, 1.11.0, 1.11.1, 1.11.2, 1.12.0 and 500 more | 8.1.4.1, 8.0.5.2 | gem install actionpack -v 8.1.4.1gem install actionpack -v 8.0.5.2 |
Action Pack session stores other than ActionDispatch::Session::CookieStore (CacheStore, MemCacheStore, and third-party stores built on AbstractStore, AbstractSecureStore or the session mixins) write the session cookie without a SameSite attribute, regardless of config.action_dispatch.cookies_same_site_protection, which defaults to :lax. Only CookieStore applies the configured policy. In browsers that do not treat a cookie without the attribute as SameSite=Lax, a cross-site request could carry the session cookie, possibly leading to cross-site request forgery against actions that do not verify an authenticity token, such as those of API-only applications.
Applications are affected when they use a session store other than CookieStore and do not pass same_site: to config.session_store.
In the fixed releases, every session store sets the session cookie's SameSite attribute from cookies_same_site_protection when its options have no :same_site key. An explicit same_site: option, including same_site: nil, and a :same_site value in a store's DEFAULT_OPTIONS still take precedence.
Pass same_site: when configuring the session store, for example config.session_store :cache_store, same_site: :lax.
The fixed releases are available at the normal locations.
Patches for those who cannot upgrade at once:
8.1: https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46.patch
8.0: https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef.patch
This issue was responsibly reported by HackerOne researcher tjvc.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.002 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.002 | 0.002 | v2026.06.15 |