CVE-2026-39324
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-07
- Last modified
- 2026-10-26
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 19 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Rack | Rack-session | ≥ 2.0.0, < 2.1.2 | Affected |
Weakness type
-
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
-
CWE-345: Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.
-
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
-
CWE-565: Reliance on Cookies without Validation and Integrity Checking
The 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.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1040: Network Sniffing
- T1134: Access Token Manipulation
- T1185: Browser Session Hijacking
- T1211: Exploitation for Stealth
- T1491: Defacement
- T1505.003: Web Shell
- T1539: Steal Web Session Cookie
- T1542.002: Component Firmware
- T1548: Abuse Elevation Control Mechanism
- T1550.001: Application Access Token
- T1556: Modify Authentication Process
- T1557: Adversary-in-the-Middle
- T1557.002: ARP Cache Poisoning
- T1563: Remote Service Session Hijacking
- T1584.002: DNS Server
References
Related at Berigo
Articles
-
Swedish regulator fines a system supplier SEK 1.8 million after sick leave data leaked
Same product
2026-09-26
Sweden's data protection authority has fined Miljödata SEK 1.8 million over the August 2025 intrusion that the company itself says affected 2.2 milli…
-
A zero day in Magento was exploited for three days before Adobe shipped a fix
Same product
2026-09-26
Sansec has seen active exploitation of CVE-2026-75650 in Magento Open Source and Adobe Commerce since 4 September 2026. The flaw scores a maximum 10.…
-
Five remote hires turned out to be probable North Korean workers
Same product
2026-08-27
During 2026 Huntress supported investigations in which five remote employees were assessed as likely North Korean workers. The roles covered IT, sale…
-
Personal data exposed after a social engineering attack on Apollo
Same product
2026-08-25
Apollo has notified individuals that unauthorised users had access to certain cloud platforms between 6 and 10 July. The firm says names, dates of bi…
Services
-
CISO as a Service
With CISO as a Service, an external CISO from Berigo leads your security work and reports to management and the board. You get security leadership wi…
-
Secure Post-Merger Integration
Support for secure integration after acquisitions, mergers and carve-outs: from day-1 readiness to a consolidated ISMS and regulatory continuity.
-
ISO/IEC 27001: advisory and certification readiness
ISO/IEC 27001 advisory and an information security management system that is used in practice and able to withstand a certification audit. Choose a g…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.