PatchSiren cyber security CVE debrief
CVE-2026-126077 rails CVE debrief
CVE-2026-126077 is a vulnerability in the Action Pack framework used for handling and responding to web requests in Ruby on Rails applications. The issue arises when ActionDispatch::Cookies reads a signed or encrypted cookie written under a rotated secret or in a format that a :hybrid cookie serializer migrates from. It then writes the cookie back to the response in the current format, ignoring the request.session_options[:skip] setting. This behavior can lead to session cookies being included in public, immutable responses of Active Storage proxy controllers, potentially causing a shared cache to serve one user's session to later requesters of the same URL or serve an attacker's session to other users. This vulnerability affects applications serving Active Storage files through proxy controllers with a configured cookie rotation or :hybrid serializer migration, running behind a cache that stores Set-Cookie headers on public responses.
- Vendor
- rails
- Product
- Unknown
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-10
- Original CVE updated
- 2026-11-14
- Advisory published
- 2026-11-10
- Advisory updated
- 2026-11-14
Who should care
Defenders and administrators of Ruby on Rails applications using Action Pack and serving Active Storage files through proxy controllers, especially those with cookie rotation or :hybrid serializer migration configured and running behind a cache that stores Set-Cookie headers on public responses, should assess their exposure and apply patches or mitigations as necessary.
Why it matters
CVE-2026-126077 is a medium-severity vulnerability in Action Pack that can lead to unintended session cookie sharing in public responses, potentially allowing session hijacking. Defenders should prioritize patching, especially for applications serving Active Storage files through proxy controllers with specific configurations, and assess cache settings to prevent storing Set-Cookie headers on public responses.
- Potential unintended sharing of session cookies through public responses.
- Possible serving of one user's session to other requesters of the same URL.
- Serving an attacker's session to other users through a shared cache.
- Requires verification of affected versions, exploitation, and specific deployment impacts.
Technical summary
The vulnerability arises from ActionDispatch::Cookies' behavior of rewriting cookies in the current format when reading signed or encrypted cookies written under a rotated secret or in a :hybrid serializer migration format. This can lead to unintended sharing of session cookies in public responses when served through Active Storage proxy controllers behind a caching layer. Affected applications serving Active Storage files through proxy controllers with cookie rotation or :hybrid serializer migration configured, and running behind a cache that stores Set-Cookie headers on public responses, should assess their exposure and apply patches or mitigations as necessary. The issue is fixed in versions 8.1.4.1 and 8.0.
Defensive priority
Defenders should prioritize assessing exposure and applying patches, particularly for applications serving Active Storage files through proxy controllers with cookie rotation or :hybrid serializer migration configured, and running behind a cache that stores Set-Cookie headers on public responses.
Recommended defensive actions
- Assess if the application serves Active Storage files through proxy controllers with a configured cookie rotation or :hybrid serializer migration.
- Verify if the application runs behind a cache that stores Set-Cookie headers on public responses.
- Apply patches to upgrade to versions 8.1.4.1 or 8.0.5.2.
- Review cache configurations to prevent storing Set-Cookie headers on public responses.
- Monitor for unusual session activity or errors related to cookie handling.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, its impact, and the affected versions. However, the extent of exploitation and specific affected deployments require further verification from official sources.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126077 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126077
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126077 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126077
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/rails/rails/commit/0e6cf8faa89caf4c64311d35ca2bc88c1458d4e3
-
Source reference
Unverified legacy reference
URL: https://github.com/rails/rails/commit/849a6c30eacbb6ca4722132f43c4333a93188556
-
Source reference
Unverified legacy reference
URL: https://github.com/rails/rails/releases/tag/v8.0.5.2
-
Source reference
Unverified legacy reference
URL: https://github.com/rails/rails/releases/tag/v8.1.4.1
-
Source reference
Unverified legacy reference
URL: https://github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.