# CVE-2026-126076: Action Pack: Possible restoration of destroyed sessions in Action Dispatch CacheStore

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-10 · Modified: 2026-11-12
- Aliases: GHSA-2586-8ghr-69fj, CGA-2x2p-xjcx-c76w, CGA-453p-6h69-qmcc, CGA-54hw-gr4j-cm92, CGA-5jhg-qq5h-7j86, CGA-f7vq-2fx7-622j, DEBIAN-CVE-2026-126076, CGA-3x2g-6vh8-wjqc, CGA-4hx5-272m-mrm6, CGA-6v6c-9qj5-5jfj, CGA-7vxw-x52j-r29f, CGA-8g9c-7cf3-cxqv, CGA-8qrf-w2hc-w5hm, CGA-cg8q-gv8m-mjp8, CGA-ffrg-hjvm-h5h3, CGA-hqvr-ghxq-6cw9, CGA-hr74-9prf-cv52, CGA-jhv2-xw9h-gw6j, CGA-qqx9-3g6g-prvg, CGA-r7v4-xmgc-pc3h, CGA-rj27-95hj-hqc7, CGA-vcwv-q93j-5726, CGA-xj6j-8jhj-2qx8, CGA-3j8r-rh6p-ffv2, CGA-56hx-mwc9-p64h, CGA-5qp3-ffqp-6369, CGA-5rhp-r7xx-8c6m, CGA-5xcp-54vj-j87x, CGA-5xf3-gvqc-jqx5, CGA-6wx4-778g-6288, CGA-7cw7-h3p8-fmcx, CGA-8f2p-vh6c-7v84, CGA-8hp8-gpv2-948h, CGA-9m2g-q85j-r75x, CGA-9mm3-c8g7-q7w6, CGA-cr88-8w9q-xmmp, CGA-fp84-8hpg-fgwm, CGA-fq9v-hgxx-749g, CGA-gq5j-424w-gg33, CGA-hmvv-3x8x-4gmf, CGA-ppr9-v65v-3vhr, CGA-qgc6-9x4h-g652, CGA-rv25-6qx2-cvgj, CGA-rvv2-mxhv-wxm4, CGA-83rm-xw9r-6q82, CGA-fhxf-vc74-88cj, CGA-hj4q-92gj-29c2, CGA-r576-mj3p-3hf6, CGA-v272-3747-39v9, CGA-v659-v84h-3m23, UBUNTU-CVE-2026-126076, CGA-p8rq-6j66-2mgp, CGA-62fg-3xw4-59f8, CGA-82vg-h2gv-prj2, CGA-8335-xjqp-r5ch
- Record: https://cvemate.com/vulnerability/CVE-2026-126076 · JSON: https://cvemate.com/vulnerability/CVE-2026-126076/json

## Description

```text
Action Pack is a framework for handling and responding to web requests. Prior to 8.1.4.1 and 8.0.5.2, ActionDispatch::Session::CacheStore writes a session back to the cache at the end of each request that loaded it, without checking that the session's cache entry still exists. When a concurrent request destroys the session, through reset_session on logout or by deleting its cache entry on the server, a request that loaded the session earlier and finishes later restores it under its original session ID. Logout and server-side revocation could therefore fail to end a session, and an attacker who holds a stolen session cookie could keep that session valid across the victim's logout. Applications that use config.session_store :cache_store are affected, with any cache backend. ActionDispatch::Session::CookieStore is not affected, nor is ActionDispatch::Session::MemCacheStore with Dalli 4.0.0 or later, whose session store does not write back a session that was deleted. This issue is fixed in versions 8.1.4.1 and 8.0.5.2.
```

## Signals

- CVSS: 4.2 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.31%, percentile 25.679%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 36)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.4 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.5 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.3 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.3 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/rails/rails/security/advisories/GHSA-2586-8ghr-69fj>
- <https://github.com/rails/rails/commit/5bb5ec66ed8faaf590ffe1222d7a5eb6e9d050f5>
- <https://github.com/rails/rails/commit/d479192cf88a8b30a335a8bc25188a2d8e0f8d9f>
- <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-2586-8ghr-69fj.yml>
- <https://security-tracker.debian.org/tracker/CVE-2026-126076>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126076.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126076>
- <https://ubuntu.com/security/CVE-2026-126076>
- <https://www.cve.org/CVERecord?id=CVE-2026-126076>

---

Data as of 2026-12-05T04:41:38.997Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
