Skip to main content

Action Pack EUVDEUVD-2026-122859

| CVE-2026-126067 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-11-10 security-advisories@github.com GHSA-gmj8-hvj3-49mw
3.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to attacker page
  2. Delivery
    Browser omits SameSite default on session cookie
  3. Exploit
    Issue cross-site state-changing request
  4. Execution
    Session cookie auto-attached
  5. Impact
    Unverified 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

rails 8.1, < 8.1.4.1
rails < 8.0.5.2

Affected Packages

rubygems actionpack fix: 8.0.5.2, 8.1.4.1
euvd rails fix: 8.0.5.2, 8.1.4.1

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

Vendor (github) PRIMARY 3.1 LOW
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 3.1 LOW

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 21:50 EUVD
CVE Published
Nov 10, 2026 - 21:19 cve.org
LOW 3.1

DescriptionCVE.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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
Ruby on Rails / Action Pack is a widely deployed enterprise web framework
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2013-0333 HIGH POC
7.5 Jan 30

lib/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

CVE-2013-0156 HIGH POC
7.5 Jan 13

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

CVE-2016-2098 HIGH POC
7.3 Apr 07

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

CVE-2013-6414 MEDIUM POC
5.0 Dec 07

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

CVE-2026-122006 CRITICAL POC
9.8 Nov 04

Unauthenticated attackers can write arbitrary files on a Ruby on Rails host and, when Active Storage uses the Disk servi

CVE-2026-109391 CRITICAL POC
9.2 Oct 12

Unauthenticated remote code execution is achievable in Square Squash (all versions through commit e73f280) through a two

CVE-2017-17919 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute

CVE-2017-17920 HIGH POC
8.1 Dec 29

SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execut

CVE-2012-6496 HIGH POC
7.5 Jan 04

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

CVE-2012-2695 HIGH POC
7.5 Jun 22

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

CVE-2013-0277 CRITICAL
10.0 Feb 13

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

CVE-2026-94462 HIGH POC
7.1 Sep 22

Authenticated store customers can seize other shoppers' guest carts in Spree Commerce by calling PATCH /api/v3/store/car

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy