{"answers":{"affected":"4 open source packages ship an affected version, including org.keycloak:keycloak-services. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-9798 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-9798 is a medium-severity vulnerability in Redhat Build of Keycloak, published on 28 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-9798 and fix it if it is affected.\n\nWhat it is: CVE-2026-9798 is a medium-severity vulnerability in Redhat Build of Keycloak, published on 28 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-9798 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.keycloak:keycloak-services (Maven): affected all versions up to 26.4.7; no fix listed\n- org.keycloak:keycloak-services (Maven): affected all versions up to 26.4.7; no fix listed\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0 up to 26.6.4; no fix listed\n- org.keycloak:keycloak-services (Maven): affected from 26.5.0 up to 26.6.4; no fix listed\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-9798/ (Markdown: https://insights.sbomify.com/CVE-2026-9798/index.md)","id":"CVE-2026-9798","markdown":"https://insights.sbomify.com/CVE-2026-9798/index.md","name":"CVE-2026-9798","record":{"aliases":["ECHO-3050-e6f8-f8c9","GHSA-q6h7-xxp7-7429","MINI-5gpf-x72p-7j86","MINI-wppf-qw6v-37vx"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Identity and access management","requires_auth":"none","summary":"Attackers with valid client credentials can bypass brute-force protection in Keycloak's CIBA flow, allowing continued authentication attempts on locked accounts.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_keycloak","vendor":"redhat"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"description":"A flaw was found in Keycloak, an open-source identity and access management solution. When a user account is temporarily locked due to repeated failed login attempts, an attacker with valid client credentials can exploit the Client-Initiated Backchannel Authentication (CIBA) flow to bypass this brute-force protection. This allows continued authentication attempts and token issuance even when the account should be locked, potentially enabling further unauthorized access attempts.","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":"Keycloak: keycloak: brute-force protection bypass in ciba flow","id":"CVE-2026-9798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:build_of_keycloak","products":["redhat:build_of_keycloak"],"type":"security_feature_bypass","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass","id":"CVE-2026-9799"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["26.4.7"],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-q6h7-xxp7-7429"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["26.4.7"],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-q6h7-xxp7-7429"},{"ecosystem":"Maven","fixed":[],"introduced":["26.5.0"],"last_affected":["26.6.4"],"package":"org.keycloak:keycloak-services","purl":null,"source":"GHSA-q6h7-xxp7-7429"},{"ecosystem":"Maven","fixed":[],"introduced":["26.5.0"],"last_affected":["26.6.4"],"package":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","source":"GHSA-q6h7-xxp7-7429"}],"prev":{"headline":"Keycloak: keycloak: privilege escalation via time-of-check to time-of-use (toctou) vulnerability","id":"CVE-2026-9796"},"products":["Red Hat build of Keycloak 26.4","Red Hat build of Keycloak 26.4.14","Red Hat build of Keycloak 26.6","Red Hat build of Keycloak 26.6.5"],"published":"2026-05-28","related":[{"cvss_score":8.8,"headline":"Keycloak-services: keycloak-services: dcr protocol mapper type-swap policy bypass allows privilege escalation","id":"CVE-2026-15572","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.8,"headline":"Keycloak SAML Broken has Authentication Bypass by Primary Weakness","id":"CVE-2026-3047","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: authorization bypass via unnormalized uri matching in pathmatcher","id":"CVE-2026-15573","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Keycloak-services: keycloak-services: default dcr policy allows role forgery via user property mappers","id":"CVE-2026-16102","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.1,"headline":"Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users","id":"CVE-2026-1609","kev_date_added":null,"published":"2026-07-16"},{"cvss_score":8.1,"headline":"Org.keycloak:keycloak-services: keycloak: authentication bypass via jwt algorithm confusion","id":"CVE-2026-11800","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":8.1,"headline":"Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison","id":"CVE-2026-9800","kev_date_added":null,"published":"2026-06-25"}],"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":"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-20","vendors":["Red Hat"]},"summary":"Attackers with valid client credentials can bypass brute-force protection in Keycloak's CIBA flow, allowing continued authentication attempts on locked accounts.","url":"https://insights.sbomify.com/CVE-2026-9798/"}