Skip to main content
VulnerabilityPublished

CVE-2026-126067: Missing SameSite attribute on session cookies from Action Pack session stores

Affects actionpackSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126067· Low 3.1

Not known to be exploited · CVSS 3.1 Low : upgrade to 8.1.4.1 when convenient.

Data as of 10 Nov 2026, 22:34 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.1
Patch
Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade actionpack to 8.1.4.1; actionpack to 8.0.5.2.

Affected software

ProductAffectedFixed in
RubyGemsactionpackAffected
  • >=8.1.0.beta1 <8.1.4.1
Fixed in
  • 8.1.4.1
RubyGemsactionpackAffected
  • <8.0.5.2
Fixed in
  • 8.0.5.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

### Impact 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`. ### Details 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. ### Workarounds Pass `same_site:` when configuring the session store, for example `config.session_store :cache_store, same_site: :lax`. ### Releases 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 ### Credit This issue was responsibly reported by HackerOne researcher [tjvc](https://hackerone.com/tjvc).

References

Community reviews

Loading reviews…