CVE-2026-126077: Action Pack: Possible sensitive session information leak in Active Storage proxy mode
Published 2026-11-12 · Updated 2026-11-13 · Also known as GHSA-x6mj-8jx9-qhqv
Summary
Active Storage proxy controllers in Rails incorrectly rewrite and set session cookies on cacheable responses when cookie rotation or hybrid migration is enabled. Developers using Active Storage proxy mode with cookie rotations should upgrade to the specified patched versions to prevent potential session information leaks.
Who is affected
Applications are vulnerable if they use Active Storage proxy controllers, have active cookie rotation or hybrid serialization configured, and sit behind a cache that persists Set-Cookie headers. This vulnerability allows for sensitive session information to be cached and served to subsequent users, effectively bypassing the security controls intended to keep session cookies off public proxy responses.
Exploitability
The vulnerability is rated as medium severity with a CVSS score of 6.8, requiring network access and high user interaction. With an EPSS score of 0.004, the exploit likelihood is currently low, and it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade actionpack to version 8.1.4.1 or 8.0.5.2.
- Configure caching proxies to reject or strip responses containing Set-Cookie headers.
- Complete pending cookie rotations or serializer migrations and remove them from application configuration.
- Apply the provided patches for version 8.1 or 8.0 if an immediate upgrade is not feasible.
How to check your project
- Check the Gemfile.lock file for actionpack versions within the range 8.1.0.beta1 up to 8.1.4.1, or versions prior to 8.0.5.2.
- Inspect application configuration for active 'config.action_dispatch.cookies_rotations' or usage of the ':hybrid' cookie serializer.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| RubyGems | actionpack |
>= 8.1.0.beta1, < 8.1.4.1 | 8.1.4.1 | bundle update actionpack |
| RubyGems | actionpack |
>= 0, < 8.0.5.2 | 8.0.5.2 | bundle update actionpack |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | High |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | None |
FAQ
Is this a new vulnerability?
Yes, it is identified as a bypass for the previously disclosed CVE-2024-26144.
Does this affect all Rails applications?
No, only applications using Active Storage proxy controllers that also have cookie rotation or hybrid serializer migrations enabled.
What is the primary risk?
The primary risk is a session information leak where a shared cache stores a response containing a user's session cookie and serves it to other users.
Original advisory description
References
- WEB https://github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-126077
- WEB https://github.com/rails/rails/commit/0e6cf8faa89caf4c64311d35ca2bc88c1458d4e3
- WEB https://github.com/rails/rails/commit/849a6c30eacbb6ca4722132f43c4333a93188556
- PACKAGE https://github.com/rails/rails
- WEB https://github.com/rails/rails/releases/tag/v8.0.5.2
- WEB https://github.com/rails/rails/releases/tag/v8.1.4.1
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-x6mj-8jx9-qhqv.yml
Source records: GHSA-x6mj-8jx9-qhqv (OSV.dev) · EPSS by FIRST, 2026-11-21.