Improper Authentication Affecting ruby3.3-rails-8.0 package, versions <8.0.5-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.03% (9th percentile)

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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-RUBY33RAILS80-16007840
  • published13 Apr 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

NewCVE-2026-39324  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-345  (opens in a new tab)
CWE-502  (opens in a new tab)
CWE-565  (opens in a new tab)

How to fix?

Upgrade Chainguard ruby3.3-rails-8.0 to version 8.0.5-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.3-rails-8.0 package and not the ruby3.3-rails-8.0 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.