{"id":"CVE-2026-126067","state":"PUBLISHED","title":"Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores","description":"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.","publishedAt":"2026-11-10T20:29:44.430Z","updatedAt":"2026-11-10T20:29:44.430Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["rails rails"],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 8.1, < 8.1.4.1","status":"affected"},{"version":"< 8.0.5.2","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-352"],"ingestedAt":"2026-11-10T20:34:06.855Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/126xxx/CVE-2026-126067.json","commit":"3279f24a4b32c25763f524eb99d1125c940d45d2","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-126067","state":"PUBLISHED","datePublished":"2026-11-10T20:29:44.430Z","dateUpdated":"2026-11-10T20:29:44.430Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-10T17:07:43.283Z"},"containers":{"cna":{"title":"Action Pack: Missing SameSite attribute on session cookies from Action Pack session stores","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 8.1, < 8.1.4.1","status":"affected"},{"version":"< 8.0.5.2","status":"affected"}]}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw","name":"https://github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46","name":"https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef","name":"https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.2","name":"https://github.com/rails/rails/releases/tag/v8.0.5.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","name":"https://github.com/rails/rails/releases/tag/v8.1.4.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-10T20:29:44.430Z"},"source":{"advisory":"GHSA-gmj8-hvj3-49mw","discovery":"UNKNOWN"}}}}}