CVE-2026-39324: Ruby rack session · From 2.0.0 to before 2.1.2, Rack::Session::Cookie incorrectly handles decryption
Affects ruby-rack-sessionSource GCVE Database
Not known to be exploited · CVSS 9.3 Critical · fixed in 2.1.1-0.1ubuntu0.1 : patch ruby-rack-session as a priority.
Data as of 24 Nov 2026, 21:15 UTC
Contested
Critical score, yet low EPSS after six months- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.1-0.1ubuntu0.1, 2.1.1-0.1ubuntu0.26.04.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu ruby-rack-session to 2.1.1-0.1ubuntu0.1 (package) or 2.1.1-0.1ubuntu0.26.04.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSruby-rack-sessionpkg:deb/ubuntu/ruby-rack-session?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10ruby-rack-sessionpkg:deb/ubuntu/ruby-rack-session?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-39324 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-39324 (opens in a new tab)
- github.com/rack/rack-session/security/advisories/GHSA-33qg-7wpp-89cq (opens in a new tab)
- ubuntu.com/security/notices/USN-8190-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8190-2 (opens in a new tab)