CVE-2026-126067
LOW 3.1CVSS 3.1Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores
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.
- Published
- 10 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-352
- Also known as
- GHSA-gmj8-hvj3-49mw
- Sources
- NVDJSONOSV GHSA-gmj8-hvj3-49mwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | LOW 3.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | actionpack | >= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 |
| OSV | RubyGems | actionpack | < 8.0.5.2 | 8.0.5.2 |
References
- https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46 · WEB
- https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef · WEB
- https://github.com/rails/rails/releases/tag/v8.0.5.2 · WEB
- https://github.com/rails/rails/releases/tag/v8.1.4.1 · WEB
- https://github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw · WEB
- https://github.com/rails/rails · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-gmj8-hvj3-49mw.yml · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 10 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2026)