Improper Authentication Affecting ruby3.2-rails-8.1 package, versions <8.1.3-r3


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (18th 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 IDSNYK-WOLFILATEST-RUBY32RAILS81-16005868
  • published13 Apr 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-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 Wolfi ruby3.2-rails-8.1 to version 8.1.3-r3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.2-rails-8.1 package and not the ruby3.2-rails-8.1 package as distributed by Wolfi. See How to fix? for Wolfi 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.

CVSS Base Scores

version 3.1