Read the docs

Session information leak in Action Pack Active Storage proxy mode

Priority LOW 32CWE-200Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00415 36th percentileScored 2026-11-16
Fix Fixed rails (rails): 8.1.4.1, 8.0.5.2actionpack (RubyGems): 8.1.4.1, 8.0.5.2

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

VendorProductAffected versionsFixed inStatusSource
Railsrails8.1 to before 8.1.4.1; before 8.0.5.28.1.4.1, 8.0.5.2Patch availableCNA
—actionpack (RubyGems)8.1.0.beta1 to before 8.1.4.18.1.4.1Patch availableGHSA-x6mj-8jx9-qhqv
—actionpack (RubyGems)before 8.0.5.28.0.5.2Patch availableGHSA-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

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*——Rails
  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* Versions — — ·Rails

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

  1. 2026-11-10 Threatist record created from CVE-2026-126077
  2. 2026-11-12 Priority changed: MEDIUM → LOW
  3. 2026-11-13 Alias added: GHSA-x6mj-8jx9-qhqv
  4. 2026-11-13 Fix available: RubyGems/[email protected], RubyGems/[email protected] · GHSA-x6mj-8jx9-qhqv
  5. 2026-11-13 CVSS score added · GHSA-x6mj-8jx9-qhqv
  6. 2026-11-13 Weakness changed · GHSA-x6mj-8jx9-qhqv
  7. 2026-11-13 8 new references · GHSA-x6mj-8jx9-qhqv
  8. 2026-11-14 CISA SSVC decision points changed

References

  • 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
See all 185 →

Sources