Session information leak in Action Pack Active Storage proxy mode
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
Summary
Action Pack in Rails, before 8.1.4.1 and 8.0.5.2, can leak session information through Active Storage proxy responses. When ActionDispatch::Cookies rewrites an old-format signed or encrypted cookie, it ignores the session skip option, so the session cookie can appear in Set-Cookie on a cacheable public response. A shared cache that stores such responses can expose one user's session to others requesting the same URL, and the issue requires Active Storage proxy controllers, a cookie rotation or :hybrid serializer migration, and a cache that stores Set-Cookie headers. It bypasses the fix for CVE-2024-26144 and is tracked under CWE-200.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, When ActionDispatch::Cookies reads a signed or encrypted cookie that was written under a rotated secret (config.action_dispatch.cookies_rotations) or in the format that a :hybrid cookie serializer migrates from, it writes the cookie back to the response in the current format, and that write ignores request.session_options[:skip]. ActiveStorage::DisableSession relies on that option to keep the session cookie off the public, immutable responses of the Active Storage proxy controllers, but those controllers still load the session, so a request carrying an old-format session cookie could receive the rewritten session cookie in Set-Cookie on a cacheable response. A shared cache that stores such a response together with its Set-Cookie header could then serve one user's session to later requesters of the same URL, or serve an attacker's session to other users. Applications are affected when they serve Active Storage files through the proxy controllers, have a cookie rotation or a :hybrid serializer migration configured, and run behind a cache that stores Set-Cookie on public responses. This is a path around the fix for CVE-2024-26144. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Rails | rails | 8.1 to before 8.1.4.1; before 8.0.5.2 | 8.1.4.1, 8.0.5.2 | Patch available | CNA |
| — | actionpack (RubyGems) | 8.1.0.beta1 to before 8.1.4.1 | 8.1.4.1 | Patch available | GHSA-x6mj-8jx9-qhqv |
| — | actionpack (RubyGems) | before 8.0.5.2 | 8.0.5.2 | Patch available | GHSA-x6mj-8jx9-qhqv |
- rails VendorRails Affected 8.1 to before 8.1.4.1; before 8.0.5.2 Fixed in 8.1.4.1, 8.0.5.2 Patch available CNA
- actionpack (RubyGems) Vendor— Affected 8.1.0.beta1 to before 8.1.4.1 Fixed in 8.1.4.1 Patch available GHSA-x6mj-8jx9-qhqv
- actionpack (RubyGems) Vendor— Affected before 8.0.5.2 Fixed in 8.0.5.2 Patch available GHSA-x6mj-8jx9-qhqv
Remediation
Upgrade rails and actionpack to 8.1.4.1 or to 8.0.5.2. Actionpack from 8.1.0.beta1 before 8.1.4.1 is affected, and versions before 8.0.5.2 are affected. The sources list no vendor advisory identifiers for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA rails (rails) Fixed in 8.1.4.1, 8.0.5.2
- Fix · GHSA-x6mj-8jx9-qhqv actionpack (RubyGems) Fixed in 8.1.4.1 Advisory →
- Fix · GHSA-x6mj-8jx9-qhqv actionpack (RubyGems) Fixed in 8.0.5.2 Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-126077
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-13 Alias added: GHSA-x6mj-8jx9-qhqv
- 2026-11-13 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-x6mj-8jx9-qhqv
- 2026-11-13 CVSS score added · GHSA-x6mj-8jx9-qhqv
- 2026-11-13 Weakness changed · GHSA-x6mj-8jx9-qhqv
- 2026-11-13 8 new references · GHSA-x6mj-8jx9-qhqv
- 2026-11-14 CISA SSVC decision points changed
References
Other 7
- https://github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv
- https://github.com/rails/rails/commit/0e6cf8faa89caf4c64311d35ca2bc88c1458d4e3
- https://github.com/rails/rails/commit/849a6c30eacbb6ca4722132f43c4333a93188556
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-x6mj-8jx9-qhqv.yml
More Rails vulnerabilities
- TI-2014-00124 Path traversal in Ruby on Rails lets remote attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 File content disclosure in Rails Action View KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal in Rails Action View lets attackers read files KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2026-47043 Action Pack: Possible arbitrary file read and remote code execution in Active Storage variant processing CVSS 4.0CRITICAL 9.5
- TI-2025-18040 Command injection in Rails activestorage CVSS 4.0CRITICAL 9.2
Sources
- CVE-2026-126077 · CVE Program
- CVE-2026-126077 · NVD
- FIRST EPSS
- GHSA-x6mj-8jx9-qhqv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences