Action Pack session stores omit SameSite on session cookies
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Tampering
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-352.
Summary
Action Pack versions from 8.1.0.beta1 before 8.1.4.1 and versions before 8.0.5.2 are affected. Session stores other than CookieStore, such as CacheStore, MemCacheStore and third-party stores, write the session cookie without a SameSite attribute, ignoring cookies_same_site_protection (CWE-352). In browsers that do not treat such cookies as SameSite=Lax, a cross-site request could carry the session cookie, enabling cross-site request forgery against actions that do not verify an authenticity token, such as those in API-only applications. Applications are affected when they use such a store and do not pass same_site: to config.session_store.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 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. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | actionpack (RubyGems) | 8.1.0.beta1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-gmj8-hvj3-49mw |
| — | actionpack (RubyGems) | before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-gmj8-hvj3-49mw |
- rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- actionpack (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-gmj8-hvj3-49mw
- actionpack (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-gmj8-hvj3-49mw
Remediation
Upgrade Action Pack to version 8.1.4.1 or 8.0.5.2, which fix the issue for the rails and actionpack packages. The sources list Red Hat 3scale API Management Platform 2 and Red Hat Satellite 6 as affected without a fix, with no plan available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-gmj8-hvj3-49mw actionpack (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-gmj8-hvj3-49mw actionpack (RubyGems) Fixed in 8.0.5.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126067
- 2026-11-10 Alias added: GHSA-gmj8-hvj3-49mw
- 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-gmj8-hvj3-49mw
- 2026-11-10 CVSS score added · GHSA-gmj8-hvj3-49mw
- 2026-11-10 Weakness changed · GHSA-gmj8-hvj3-49mw
- 2026-11-10 7 new references · GHSA-gmj8-hvj3-49mw
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-13 CISA SSVC decision points changed
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw
- https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46
- https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-gmj8-hvj3-49mw.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126067 · CVE Program
- CVE-2026-126067 · NVD
- FIRST EPSS
- GHSA-gmj8-hvj3-49mw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-126067 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences