Auth bypass in Rack Rack-Session
CVE-2026-39324
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 20.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rack Rack-Session — versions >= 2.0.0, < 2.1.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- sm1ee/CVE-2026-39324 (last pushed 2026-04-07): CVE-2026-39324: Rack Session auth bypass PoC
References
- https://github.com/rack/rack-session/security/advisories/GHSA-33qg-7wpp-89cq (Mitigation, Vendor Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.