{"answers":{"affected":"2 open source packages ship an affected version, including rack-session. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-39324 in the wild and no public exploit code.","fix":"Upgrade rack-session to 2.1.2 or later.","what":"CVE-2026-39324 is a critical unsafe deserialization vulnerability in rack-session, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39324 and fix it if it is affected.\n\nWhat it is: CVE-2026-39324 is a critical unsafe deserialization vulnerability in rack-session, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-39324 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rack-session (RubyGems): affected from 2.0.0; fixed in 2.1.2\n- rack-session (RubyGems): affected from 2.0.0; fixed in 2.1.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-39324/ (Markdown: https://insights.sbomify.com/CVE-2026-39324/index.md)","id":"CVE-2026-39324","markdown":"https://insights.sbomify.com/CVE-2026-39324/index.md","name":"CVE-2026-39324","record":{"aliases":["DEBIAN-CVE-2026-39324","GHSA-33qg-7wpp-89cq","MINI-228g-vvxx-pvc7","MINI-3qv2-53p5-8qw2","MINI-c3m8-ww2g-gmw2","MINI-fhjv-c56g-899f","MINI-g97c-c5pf-6rx4","MINI-hxrg-p97j-fmq6","MINI-m23q-9wc7-9v7x","MINI-m38r-4wpm-36pv","MINI-mjv4-fc92-4mgg","MINI-wv3h-9ccr-qr7f","UBUNTU-CVE-2026-39324","USN-8190-1","USN-8190-2","openSUSE-SU-2026:10604-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Ruby Rack session library","requires_auth":"none","summary":"An attacker can forge session cookies and trigger Marshal deserialization when decryption fails, potentially leading to unauthorized access or code execution.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"rack-session","vendor":"rack"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking"},{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"},{"id":"CWE-287","name":"Improper Authentication"}],"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.","ecosystems":["RubyGems","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-04-07","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-07T00:16:26Z","kind":"github_poc","ref":"https://github.com/sm1ee/CVE-2026-39324","stars":0,"title":"CVE-2026-39324: Rack Session auth bypass PoC"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization","id":"CVE-2026-39324","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"ChurchCRM has a Blind SQL injection in SettingsUser.php","id":"CVE-2026-39325"},"packages":[{"ecosystem":"RubyGems","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"rack-session","purl":null,"source":"GHSA-33qg-7wpp-89cq"},{"ecosystem":"RubyGems","fixed":["2.1.2"],"introduced":["2.0.0"],"last_affected":[],"package":"rack-session","purl":"pkg:gem/rack-session","source":"GHSA-33qg-7wpp-89cq"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.1.2-1.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-rack-session","purl":"pkg:rpm/opensuse/rubygem-rack-session\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10604-1"}],"prev":{"headline":"PolarLearn: Any password authenticates banned accounts and grants API access","id":"CVE-2026-39322"},"products":["rack-session"],"published":"2026-04-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["rack"]},"summary":"An attacker can forge session cookies and trigger Marshal deserialization when decryption fails, potentially leading to unauthorized access or code execution.","url":"https://insights.sbomify.com/CVE-2026-39324/"}