Rails: Prior to 8.1.4.1 and 8.0.5.2, When ActionDispatch::Cookies reads a signed or encrypted cookie that was written
Affects railsSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 6.8 Medium · fixed in 8.1.4.1 : update rails when convenient.
Data as of 13 Nov 2026, 22:24 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.8 |
|---|
- Patch
- Available – fixed in 8.1.4.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/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 13 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10railspkg:deb/ubuntu/rails?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu Pro 22.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSrailspkg:deb/ubuntu/rails?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Rails to version 8.1.4.1 or 8.0.5.2 where this issue is fixed. Until then, avoid configurations that combine cookie rotation or :hybrid serializer migration with Active Storage proxy controllers behind caches that store Set-Cookie headers on public responses. Review caching policies to prevent storing Set-Cookie headers on public cacheable responses. No other vendor advisory mitigation is provided.
Description
A vulnerability in Rails prior to versions 8.1.4.1 and 8.0.5.2 affects the ActionDispatch::Cookies component. When reading signed or encrypted cookies written under a rotated secret or using a :hybrid cookie serializer migration, the cookie is rewritten in the response ignoring the skip session option. This can cause session cookies to be included in cacheable responses served by Active Storage proxy controllers, potentially exposing user sessions to other users via shared caches. The issue is fixed in Rails versions 8.1.4.1 and 8.0.5.2.
References
- ubuntu.com/security/CVE-2026-126077 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-126077 (opens in a new tab)
- github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv (opens in a new tab)
- github.com/rails/rails/commit/0e6cf8faa89caf4c64311d35ca2bc88c1458d4e3 (opens in a new tab)
- github.com/rails/rails/commit/849a6c30eacbb6ca4722132f43c4333a93188556 (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)