Quick answers
- Is CVE-2026-39324 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-39324 being exploited in the wild.
- How severe is CVE-2026-39324?
- Critical severity, with a CVSS score of 9.8, published 7 April 2026.
- Which products and versions are affected?
- rack-session (RubyGems) >= 2.0.0, < 2.1.2, ECOSYSTEM:introduced=2.0.0,fixed=2.1.2.
- Is there a fix for CVE-2026-39324?
- Yes. rack-session (RubyGems): upgrade to 2.1.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-39324 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-39324?
- Check whether you run Rack-Session or rack-session (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- rack-session (RubyGems): upgrade to 2.1.2 or later
bundle update rack-session
Technical details
The vulnerability exists in Rack::Session::Cookie when configured with the 'secrets:' option. When an incoming cookie fails decryption, the implementation incorrectly falls back to a default decoder instead of rejecting the request. An unauthenticated attacker can exploit this by providing a crafted, unencrypted cookie that the fallback mechanism processes as trusted session state. This bypasses integrity protections and can lead to session forgery, authentication bypass, or arbitrary object deserialization if the application uses vulnerable serializers like Marshal. The issue is fixed in version 2.1.2.
Affected products
- Rack rack-session >= 2.0.0, < 2.1.2
Identifiers
- CVE-2026-39324
- GHSA-33qg-7wpp-89cq
Timeline
- 2026-04-07: disclosed
- 2026-04-08: advisory
- 2026-04-07: patched: Patched in version 2.1.2