# CVE-2026-39324: Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.1.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-07 · Modified: 2026-04-08
- Aliases: UBUNTU-CVE-2026-39324, USN-8190-1, DEBIAN-CVE-2026-39324, CGA-2p83-3r2m-76g5, CGA-46f6-cg5v-m8vc, CGA-4q7j-jrxv-x62v, CGA-77p3-475p-2cxf, CGA-7j8f-mh5w-6hxf, CGA-7v5h-mj6x-5hrw, CGA-983g-h3cx-8q76, CGA-ffpr-fhc7-5m83, CGA-gm9h-gq72-ghg9, CGA-m396-95h7-948v, CGA-r6v8-r4vx-jrr2, CGA-rc9v-jxq4-6822, CGA-rvwh-3v79-5wm7, CGA-vcmx-9h6r-p57r, openSUSE-SU-2026:10604-1, CGA-22wg-rjcr-w7r8, CGA-33vp-8mx3-w8xm, CGA-34gf-g6jp-6c2v, CGA-3v8q-f3g9-6vrf, CGA-3wgx-cp28-3xg9, CGA-3wj6-6wh2-9q6r, CGA-3wqq-c6vh-9wm8, CGA-543c-rc6m-q6jx, CGA-57p8-7w5h-m4vj, CGA-5g9q-gcjf-8hhh, CGA-5wjp-h269-m5qm, CGA-5xxg-g9gc-763r, CGA-68hj-693g-f4jj, CGA-6xjf-vh3w-fg5h, CGA-7hhx-6gph-g48c, CGA-7j9w-g8f2-m3qc, CGA-7jq9-fmr6-jvww, CGA-8233-cjfj-59f8, CGA-82qf-m8c6-j3mp, CGA-879f-96h5-c827, CGA-89xq-93xh-3636, CGA-8h56-vrf5-rc7m, CGA-8vch-wpmx-5pmf, CGA-9cqj-cpm7-84x7, CGA-9j7m-xm29-xc37, CGA-cmgf-f4rq-qq5w, CGA-cqrv-79v3-55jv, CGA-f884-gc24-45c6, CGA-fvxj-v4vv-9gg2, CGA-gg52-wrv6-v23x, CGA-h9vc-j349-4v7x, CGA-hh3p-qg63-q8mj, CGA-hvf8-rq74-hf2h, CGA-j4q8-vp23-h4h5, CGA-m2jh-96hc-c624, CGA-m5j3-vfjh-fr6q, CGA-mc63-5pgw-6cvj, CGA-mx5h-7675-m6cf, CGA-ph8c-w9w8-94qv, CGA-phg3-mwgh-w9fw, CGA-prhj-j487-r8w3, GHSA-33qg-7wpp-89cq, CGA-q2vv-qfm6-hf5v, CGA-q84p-vm47-crg5, CGA-qq86-49hq-233v, CGA-qwgj-83h7-fq5c, CGA-qwqw-gpcg-rv6c, CGA-qxp4-6h35-r95f, CGA-r3qm-4r9f-v27j, CGA-rr3p-mrph-mvc9, CGA-v2wq-jvmp-mc6c, CGA-v3cr-q2v9-gg3w, CGA-vggr-pq36-cq83, CGA-vh66-hfmv-2jgh, CGA-vr6p-72gm-gx95, CGA-w4qj-79q2-f9gg, CGA-wx76-r4cq-75hj, CGA-xphj-35qg-6568, CGA-xwc8-46vv-4m9m, DSA-6542-1, USN-8190-2
- Record: https://cvemate.com/vulnerability/CVE-2026-39324 · JSON: https://cvemate.com/vulnerability/CVE-2026-39324/json

## Description

```text
Rack::Session is a session management implementation for Rack. From 2.0.0 to before 2.1.2, Rack::Session::Cookie incorrectly handles decryption failures when configured with secrets:. If cookie decryption fails, the implementation falls back to a default decoder instead of rejecting the cookie. This allows an unauthenticated attacker to supply a crafted session cookie that is accepted as valid session data without knowledge of any configured secret. Because this mechanism is used to load session state, an attacker can manipulate session contents and potentially gain unauthorized access. This vulnerability is fixed in 2.1.2.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.307%, percentile 25.266%, 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 48)

- chainguard logstash-8.17 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19 (Chainguard): \< 8.19.14-r3
- chainguard logstash-8.19-iamguarded-compat (Chainguard): \< 8.19.14-r3
- chainguard logstash-8.19-with-output-opensearch (Chainguard): \< 8.19.14-r3
- chainguard logstash-9.0 (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.0-iamguarded-compat (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.0-with-output-opensearch (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.1 (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-bitnami-compat (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-iamguarded-compat (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-with-output-opensearch (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.2 (Chainguard): \< 9.2.8-r2
- chainguard logstash-9.2-iamguarded-compat (Chainguard): \< 9.2.8-r2
- chainguard logstash-9.2-with-output-opensearch (Chainguard): \< 9.2.8-r2
- chainguard logstash-9.3 (Chainguard): \< 9.3.3-r2

## References

- <https://github.com/rack/rack-session/security/advisories/GHSA-33qg-7wpp-89cq>
- <https://ubuntu.com/security/CVE-2026-39324>
- <https://www.cve.org/CVERecord?id=CVE-2026-39324>
- <https://ubuntu.com/security/notices/USN-8190-1>
- <https://ubuntu.com/security/notices/USN-8190-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-39324>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39324.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39324>
- <https://www.suse.com/security/cve/CVE-2026-39324>
- <https://github.com/rack/rack-session>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-session/CVE-2026-39324.yml>

---

Data as of 2026-12-05T07:51:53.082Z. 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
