Not Failing Securely ('Failing Open') Affecting rack-session package, versions >=2.0.0, <2.1.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-RACKSESSION-15928857
  • published8 Apr 2026
  • disclosed8 Apr 2026
  • creditSeungMyung Lee

Introduced: 8 Apr 2026

NewCVE-2026-39324  (opens in a new tab)
CWE-636  (opens in a new tab)

How to fix?

Upgrade rack-session to version 2.1.2 or higher.

Overview

rack-session is a session implementation for Rack.

Affected versions of this package are vulnerable to Not Failing Securely ('Failing Open') in the Rack::Session::Cookie() function when it is configured with the secrets: option. An attacker can gain unauthorized access or escalate privileges by supplying a crafted session cookie that if decryption fails is accepted as valid.

CVSS Base Scores

version 4.0
version 3.1