Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to attacker page
-
DeliveryBrowser omits SameSite default on session cookie
-
ExploitIssue cross-site state-changing request
-
ExecutionSession cookie auto-attached
-
ImpactUnverified action executed as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all of the following to hold: (1) the application uses an Action Pack session store OTHER than ActionDispatch::Session::CookieStore - specifically CacheStore, MemCacheStore, or a third-party store built on AbstractStore, AbstractSecureStore, or the session mixins; (2) the application does NOT pass same_site: to config.session_store (and the store's DEFAULT_OPTIONS do not set :same_site), so the configured cookies_same_site_protection (default :lax) is silently ignored and the cookie ships with no SameSite attribute; (3) the victim uses a browser that does NOT treat an attribute-less cookie as SameSite=Lax - current major browsers do apply that default, which neutralizes the issue; and (4) the targeted endpoints do not verify an authenticity token, as is typical of API-only Rails applications. Limiting factors per CVSS: user interaction is required (UI:R - the victim must visit the attacker's cross-site context) and the layered preconditions drive high attack complexity (AC:H). Applications on CookieStore, or any store where same_site: is explicitly configured, are not affected. |
| Impact | This is a genuinely low-priority issue, and the signals are consistent rather than conflicting. The CVSS 3.1 base score is 3.1 (Low) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N: network reachable but high attack complexity, user interaction required, no privileges, and only a limited integrity impact (confidentiality and availability are untouched). The vuln.today decision label is 'monitor', which aligns with the low score. There is no CISA KEV listing, so this is not confirmed actively exploited, and no EPSS score was supplied to gauge exploitation probability. No proof-of-concept or exploit reference appears in the input, so there is no public exploit identified at time of analysis. The high complexity is well justified by the description itself: exploitation depends on a non-default session store, a specific configuration gap, a browser that does not apply the SameSite=Lax default to attribute-less cookies, and target actions that skip authenticity-token verification. Modern major browsers (Chrome, Firefox, Edge) already default attribute-less cookies to SameSite=Lax, which further shrinks the real-world window. Net assessment: a legitimate defense-in-depth CSRF hardening fix, not an urgent threat; patch on a normal maintenance cycle. |
| Exploit ScenarioDerived | An API-only Rails application uses CacheStore or MemCacheStore for sessions, never sets same_site: in config.session_store, and exposes state-changing endpoints that do not verify an authenticity token. A victim who is authenticated to that app visits an attacker-controlled page in an older or non-conforming browser that does not default attribute-less cookies to SameSite=Lax; the page issues a cross-site request that silently carries the session cookie, performing an action as the victim. No public exploit code was identified in the provided data, and the high CVSS complexity reflects the stacked preconditions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Session cookies written by Rails Action Pack session stores other than ActionDispatch::Session::CookieStore - namely CacheStore, MemCacheStore, and third-party stores built on AbstractStore, AbstractSecureStore, or the session mixins - omit the SameSite attribute entirely, silently ignoring config.action_dispatch.cookies_same_site_protection (default :lax). Applications are exposed only if they use one of those stores without passing same_site: to config.session_store, the victim's browser does not apply a SameSite=Lax default to attribute-less cookies (current major browsers do apply it), and the targeted actions skip authenticity-token verification, as in API-only applications; the result is a limited-integrity CSRF risk (CVSS 3.1, AV:N/AC:H/PR:N/UI:R, C:N/I:L/A:N). No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; vendor-released patches are available in 8.1.4.1 and 8.0.5.2, and the overall priority is monitor.
RemediationAI
Upgrade the actionpack gem to 8.1.4.1 (8.1 branch, including 8.1.0.beta1 and later) or 8.0.5.2 (8.0 and earlier), per GHSA-gmj8-hvj3-49mw and the release tags https://github.com/rails/rails/releases/tag/v8.1.4.1 and https://github.com/rails/rails/releases/tag/v8.0.5.2. Teams that cannot upgrade immediately can apply the backported patches referenced by the advisory - https://github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46.patch for 8.1 and https://github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef.patch for 8.0 - or use the documented workaround of passing same_site: explicitly when configuring the store, for example config.session_store :cache_store, same_site: :lax, which restores the intended attribute on the emitted session cookie; be aware that an explicit same_site: nil, or a :same_site entry in the store's DEFAULT_OPTIONS, takes precedence over the framework default and would keep the cookie attribute-less. Setting SameSite on the session cookie is the only mitigation the vendor documents, and it does not change behaviour for applications already on CookieStore; because the residual risk is confined to browsers that do not apply a SameSite=Lax default and to endpoints lacking authenticity-token checks, adding CSRF token verification on state-changing actions addresses the same gap, and the priority assigned to this issue is monitor rather than act-now.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in rubygems, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Action Pack implements Rails session handling as Rack middleware under ActionDispatch::Session. CookieStore packs session data into the cookie itself, and that class historically carried the DEFAULT_SAME_SITE proc that pulled the effective policy from request.cookies_same_site_protection, so it alone honoured config.action_dispatch.cookies_same_site_protection. Server-side stores (CacheStore, MemCacheStore) and third-party stores composed from AbstractStore, AbstractSecureStore, Compatibility, StaleSessionCheck and SessionObject write only a session-id cookie through Rack's cookie helpers, and that write path never consulted the configured policy, so no SameSite attribute was emitted. The weakness maps to CWE-352 (cross-site request forgery): browsers that treat an attribute-less cookie as unrestricted could attach the session cookie to a cross-site request, and endpoints lacking authenticity-token checks - typical of API-only Rails apps - would then act on the victim's session. The upstream fix relocates DEFAULT_SAME_SITE into AbstractStore and merges same_site: DEFAULT_SAME_SITE into the store options when neither the caller-supplied options nor the store's DEFAULT_OPTIONS define a :same_site key; an explicit same_site: option (including same_site: nil) and any :same_site in a store's DEFAULT_OPTIONS continue to take precedence. The trigger for the underlying missing-attribute behaviour is a configuration mismatch; the exact browser-side preconditions are described only as browsers that do not apply the SameSite=Lax default.
Know when Ruby On Rails gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Network CSRF with no auth (PR:N) but victim interaction (UI:R) and stacked non-default-store, config, and browser preconditions (AC:H); only limited integrity impact, no confidentiality or availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
More in Ruby On Rails
View alllib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly
active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, an
Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to e
actionpack/lib/action_view/lookup_context.rb in Action View in Ruby on Rails 3.x before 3.2.16 and 4.x before 4.0.2 allo
Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi
Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two
SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute
SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut
SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly
ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or
Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car
EUVD-2026-122859
GHSA-gmj8-hvj3-49mw
NVD
CVE.org
EPSS
Exploit-DB