CVE-2026-126067: rails · Cross-Site Request Forgery
Affects railsSource CVE Database V5
Not known to be exploited · CVSS 3.1 Low : upgrade to 8.1.4.1 or 8.0.5.2 when convenient.
Data as of 10 Nov 2026, 20:53 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.1 |
|---|
- Patch
- Available – fixed in 8.1.4.1, 8.0.5.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rails to 8.1.4.1 or 8.0.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsrails | Affected
| Fixed in
|
| railsrails | Affected
| Fixed in
|
AI-suggested
Upgrade Rails to version 8.1.4.1 or 8.0.5.2 or later where this issue is fixed. Applications using session stores other than CookieStore should explicitly set the same_site option in config.session_store as a temporary mitigation if upgrading is not immediately possible.
Description
A Cross-Site Request Forgery (CSRF) vulnerability exists in the Rails Action Pack framework affecting session stores other than CookieStore. Versions prior to 8.1.4.1 and 8.0.5.2 do not set the SameSite attribute on session cookies for certain session stores, potentially allowing cross-site requests to carry session cookies in browsers that do not default to SameSite=Lax. This can lead to CSRF attacks against actions lacking authenticity token verification, such as API-only applications. The issue is fixed in versions 8.1.4.1 and 8.0.5.2.
References
- github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw (opens in a new tab)
- github.com/rails/rails/commit/2d9f502df941e31ce9bad0e846564f49396bed46 (opens in a new tab)
- github.com/rails/rails/commit/f2392996be723708271a8d30bfcf0edc221e53ef (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.5.2 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.4.1 (opens in a new tab)