{"answers":{"affected":"2 open source packages ship an affected version, including org.keycloak:keycloak-services.","exploited":"There is no known exploitation of CVE-2025-12390 in the wild and no public exploit code.","fix":"Upgrade org.keycloak:keycloak-services to 26.0.0 or later.","what":"CVE-2025-12390 is a medium-severity authentication bypass vulnerability in Red Hat build of Keycloak 26.2, published on 28 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-12390 and fix it if it is affected.\n\nWhat it is: CVE-2025-12390 is a medium-severity authentication bypass vulnerability in Red Hat build of Keycloak 26.2, published on 28 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-12390 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.0.0\n- org.keycloak:keycloak-services (Maven): affected all versions; fixed in 26.0.0\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-2025-12390/ (Markdown: https://insights.sbomify.com/CVE-2025-12390/index.md)","id":"CVE-2025-12390","markdown":"https://insights.sbomify.com/CVE-2025-12390/index.md","name":"CVE-2025-12390","record":{"aliases":["ECHO-c70d-0dfc-e7d7","GHSA-rg35-5v25-mqvp","MINI-3mx9-5g5m-mf9x","MINI-r2p7-f2gx-7gh6"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Keycloak identity server","requires_auth":"low_privilege","summary":"Attackers can hijack user sessions by exploiting reused authentication session IDs during logout, leading to unauthorized access to another user's account.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-384","name":"Session Fixation"}],"description":"A flaw was found in Keycloak. In Keycloak where a user can accidentally get access to another user's session if both use the same device and browser. This happens because Keycloak sometimes reuses session identifiers and doesn’t clean up properly during logout when browser cookies are missing. As a result, one user may receive tokens that belong to another user.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Org.keycloak.protocol.oidc.endpoints.logoutendpoint: offline session takeover due to reused authentication session id","id":"CVE-2025-12390","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2025"},"n_packages":2,"n_references":7,"next":{"headline":"Restrictions for BuddyPress \u003c= 1.5.2 - Missing Authorization to Unauthenticated Tracking Status Update","id":"CVE-2025-12391"},"packages":[{"ecosystem":"Maven","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-rg35-5v25-mqvp"},{"ecosystem":"Maven","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-rg35-5v25-mqvp"}],"prev":{"headline":"Import Export For WooCommerce \u003c= 1.6.2 - Missing Authorization to Authenticated (Subscriber+) Settings Update","id":"CVE-2025-12389"},"products":["Red Hat build of Keycloak 26.2","Red Hat build of Keycloak 26.2.11","Red Hat build of Keycloak 26.4","Red Hat build of Keycloak 26.4.4","keycloak"],"published":"2025-10-28","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["Keycloak","Red Hat"]},"summary":"Attackers can hijack user sessions by exploiting reused authentication session IDs during logout, leading to unauthorized access to another user's account.","url":"https://insights.sbomify.com/CVE-2025-12390/"}