CVE-2026-39324: Vulnerability in Rack-session

Critical. 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...

RubyGems, CWE-287, CWE-345

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-33qg-7wpp-89cq
EU ID
EUVD-2026-19820
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-287, CWE-345, CWE-502, CWE-565
Published
7 Apr 2026
Last change
26 Oct 2026
Likelihood rank
Higher than 25 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
RubyGems

Affected products

Affected versions and the first fixed release

  • Rack-session From 2.0.0 before 2.1.2. Fixed in 2.1.2

Affected packages

Vulnerable version ranges and fixed releases

  • rack-session RubyGems, Affected from 2.0.0 before 2.1.2. Fixed in 2.1.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related