CVE-2026-39324: rack rack-session Improper Authentication
Vulnerability summary
CVE-2026-39324 is a critical (CVSS 9.8) Improper Authentication vulnerability in rack rack-session. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 07-04-2026PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
Description
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 metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated9.1CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NDiffers
- NVDNIST9.3CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
0.00 pp
From 0.27% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-287Improper AuthenticationWhen an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- CWE-345Insufficient Verification of Data AuthenticityThe product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
- CWE-502Deserialization of Untrusted DataThe product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
- CWE-565Reliance on Cookies without Validation and Integrity CheckingThe product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.
Affected systems
Chainguard36 products
- logstash-8.17All versions (No fix recorded)
- logstash-8.17-iamguarded-compatAll versions (No fix recorded)
- logstash-8.17-with-output-opensearchAll versions (No fix recorded)
- logstash-8.18All versions (No fix recorded)
- logstash-8.18-iamguarded-compatAll versions (No fix recorded)
Wolfi7 products
- logstash-9.3< 9.3.3-r2
- logstash-9.3-iamguarded-compat< 9.3.3-r2
- logstash-9.3-with-output-opensearch< 9.3.3-r2
- ruby3.2-rails-8.1< 8.1.3-r2 | < 8.1.3-r3
- ruby3.3-rails-8.1< 8.1.3-r4 | < 8.1.3-r3
Debian1 product
- ruby-rack-session< 2.1.1-0.1+deb13u1 | < 2.1.1-0.2
Opensuse1 product
- rubygem-rack-session&distro=openSUSE Tumbleweed< 2.1.2-1.1
Rack1 product
- rack-session≥ 2.0.0, < 2.1.2
RubyGems1 product
- rack-session≥ 2.0.0, < 2.1.2
Ubuntu1 product
- ruby-rack-session< 2.1.1-0.1ubuntu0.26.04.1 | < 2.1.1-0.1ubuntu0.1
7 vendors · 48 products
References
11 links- github.com/rack/rack-session/security/advisories/GHSA-33qg-7wpp-89cqX Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/rack/rack-sessionPACKAGE