# CVE-2026-126077: Action Pack: Possible sensitive session information leak in Active Storage proxy mode

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-10T20:59:00.211Z
- Modified: 2026-11-14T03:17:28.980Z
- Also known as: GHSA-x6mj-8jx9-qhqv
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- rails rails: >= 8.1, < 8.1.4.1; < 8.0.5.2
- actionpack (RubyGems): from 8.1.0.beta1 before 8.1.4.1; before 8.0.5.2

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv> (web)
- <https://github.com/rails/rails/commit/0e6cf8faa89caf4c64311d35ca2bc88c1458d4e3> (web)
- <https://github.com/rails/rails/commit/849a6c30eacbb6ca4722132f43c4333a93188556> (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://nvd.nist.gov/vuln/detail/CVE-2026-126077> (advisory)
- <https://github.com/rails/rails> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/GHSA-x6mj-8jx9-qhqv.yml> (web)

## Sources

- CVE List: [CVE-2026-126077](https://www.cve.org/CVERecord?id=CVE-2026-126077), CVE Terms of Use, modified 2026-11-14
- GitHub Advisory Database: [GHSA-x6mj-8jx9-qhqv](https://github.com/advisories/GHSA-x6mj-8jx9-qhqv), CC-BY-4.0, modified 2026-11-13
- NVD: [CVE-2026-126077](https://nvd.nist.gov/vuln/detail/CVE-2026-126077), Public domain, modified 2026-11-14

---

Page: https://cve.day/CVE-2026-126077 · Whole record: https://cve.day/CVE-2026-126077.json · Rebuilt by cve.day 2026-11-25T22:59:50.275Z
