PoC Monitor
← All CVEs
CVE-2026-39324published 7 Apr 2026 18:13 UTCData: JSON · API

Rack rack-session

Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization

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.

First public PoC 18 h beforebefore publication · 7 Apr 2026
Public PoCs11 on GitHub
CVSS9.8critical · scored by NVD · CWE-287
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

rack rack-session
  • >= 2.0.0, < 2.1.2

Fixed in 2.1.2

Mitigation

Upgrade rack-session to 2.1.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC7 Apr 2026 · t−18hCVE published7 Apr 2026 · t = 0

First public PoC 18 h before publication; not in CISA KEV. First PoC: sm1ee/CVE-2026-39324 (created 7 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
sm1ee/CVE-2026-39324 7 Apr 2026 −18 h 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /admin

Key headers
Cookie: rack.session=BAh7BkkiDHVzZXJfaWQGOgZFVGkH
Ports
9416
Seen in
1 repo: sm1ee/CVE-2026-39324
Evidence
sm1ee/CVE-2026-39324/README.md:129

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /admin
(?i)^/admin(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /admin
alert http any any -> $HOME_NET [9416] (msg:"GG PoC-Monitor CVE-2026-39324 rack rack-session exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin"; http.header; content:"Cookie: rack.session=BAh7BkkiDHVzZXJfaWQGOgZFVGkH"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-39324; classtype:web-application-attack; sid:9087770; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /admin
title: rack rack-session exploit attempt (CVE-2026-39324)
id: gg-pocmon-cve-2026-39324-9087770
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-39324. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-39324
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.39324