Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39324: CWE-287: Improper Authentication in rack rack-session

0
Critical
Published: Tue Apr 07 2026 (04/07/2026, 18:13:28 UTC)
Source: CVE Database V5
Vendor/Project: rack
Product: rack-session

Description

CVE-2026-39324 is a critical improper authentication vulnerability in rack-session versions 2. 0. 0 up to but not including 2. 1. 2. The vulnerability arises because Rack::Session::Cookie incorrectly handles decryption failures by falling back to a default decoder instead of rejecting the cookie. This flaw allows an unauthenticated attacker to supply a crafted session cookie that is accepted as valid without knowing any configured secret, enabling manipulation of session contents and potential unauthorized access. The issue is fixed in version 2. 1. 2.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 12:37:53 UTC

Technical Analysis

Rack::Session::Cookie in rack-session versions from 2.0.0 to before 2.1.2 improperly handles cookie decryption failures when configured with secrets:. Instead of rejecting cookies that fail decryption, it falls back to a default decoder, allowing attackers to craft session cookies accepted as valid session data without knowledge of secrets. This improper authentication vulnerability (CWE-287) can lead to unauthorized access by manipulating session state. The vulnerability has a CVSS 4.0 score of 9.3 (critical) and is fixed in version 2.1.2.

Potential Impact

An attacker can bypass authentication by supplying a crafted session cookie that is accepted as valid, potentially manipulating session contents and gaining unauthorized access to the application relying on rack-session for session management. This compromises the integrity and confidentiality of user sessions.

Mitigation Recommendations

Upgrade rack-session to version 2.1.2 or later, where this vulnerability is fixed. Patch status is not explicitly stated in the vendor advisory content, but the description confirms the fix in 2.1.2. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-06T19:31:07.266Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d549ecaaed68159a47390c

Added to database: 4/7/2026, 6:16:12 PM

Last enriched: 4/15/2026, 12:37:53 PM

Last updated: 5/22/2026, 5:17:20 PM

Views: 795

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses