CVE-2026-39324
published critical CVSS 4.0 · 9.3Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack-session>= 2.0.0, < 2.1.2 | Affected | Not stated | GitHub_M |
| Debian | trixie | ruby-rack-session | Advisory build | 2.1.1-0.1+deb13u1 | DSA-6542-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-sessionaarch64 | Advisory build | 2.1.2-1.1 | OPENSUSE-SU-2026:10604-1 |
| Ubuntu | questing | ruby-rack-session | Advisory build | 2.1.1-0.1ubuntu0.1 | USN-8190-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-sessionppc64le | Advisory build | 2.1.2-1.1 | OPENSUSE-SU-2026:10604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-sessions390x | Advisory build | 2.1.2-1.1 | OPENSUSE-SU-2026:10604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-sessionx86_64 | Advisory build | 2.1.2-1.1 | OPENSUSE-SU-2026:10604-1 |
| Ubuntu | resolute | ruby-rack-session | Advisory build | 2.1.1-0.1ubuntu0.26.04.1 | USN-8190-2 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack-session | >= 2.0.0, < 2.1.2 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-287 CWE-287: Improper Authentication
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-502 CWE-502: Deserialization of Untrusted Data
- CWE-565 CWE-565: Reliance on Cookies without Validation and Integrity Checking
References
1Provider assertions
2GitHub_M · cna
Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc588b636ac29cff34f7eeddaf21bb41dccd8b5f47f4782d0a671976a1824453
- Ingested
- 23 Sep 2026, 09:12:08 UTC
- Source record
- Official CVE record