{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-135768 in the wild and no public exploit code.","exposure":"Only installations with a non-default setting turned on are exposed.","fix":"No fix has been published for CVE-2026-135768 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-135768 is a medium-severity authentication bypass vulnerability in keycloak-services, published on 25 Nov 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-135768 and fix it if it is affected.\n\nWhat it is: CVE-2026-135768 is a medium-severity authentication bypass vulnerability in keycloak-services, published on 25 Nov 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-135768 in the wild and no public exploit code.\nExposure: Only installations with a non-default setting turned on are exposed.\n\nAffected product: keycloak-services. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-135768/ (Markdown: https://insights.sbomify.com/CVE-2026-135768/index.md)","id":"CVE-2026-135768","markdown":"https://insights.sbomify.com/CVE-2026-135768/index.md","name":"CVE-2026-135768","record":{"aliases":["GHSA-r2gq-8phg-jm54"],"analysis":{"component_type":"server_software","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"identity management server","requires_auth":"none","requires_specific_call":false,"summary":"Attackers with a user's password or session can bypass Keycloak's OTP policy and obtain tokens claiming higher security.","user_interaction":"required","vuln_class":"auth_bypass","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"redhat","component":"keycloak-services","cpe":[{"criteria":[{"cpe":"cpe:2.3:a:redhat:build_keycloak:*:*:*:*:*:*:*:*","source":"cna"}],"n_criteria":1,"name":null,"product":"build_keycloak","vendor":"redhat"},{"criteria":[{"cpe":"cpe:2.3:a:redhat:red_hat_single_sign_on:7:*:*:*:*:*:*:*","source":"cna"}],"n_criteria":1,"name":null,"product":"red_hat_single_sign_on","vendor":"redhat"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"A flaw was found in the keycloak-services component of Keycloak, which is used for managing authentication and authorization flows. The issue occurs when a client policy is configured to enforce a high-assurance authentication flow requiring OTP. Due to improper validation of existing sessions, a lower-assurance password-only SSO session can be incorrectly accepted if the request does not explicitly demand a specific assurance level. This allows an attacker with access to a user's password or session to bypass the second factor and obtain tokens claiming a higher level of security.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Keycloak-services: keycloak-services: policy-selected otp flow accepts password sso","id":"CVE-2026-135768","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":2,"n_vendor_status":0,"next":{"headline":"Realtek｜Realtek RTL8762C MCU (Bluetooth/MCU Chip)RTL8762C MCU - Improper Protection Against Voltage and Clock Glitches","id":"CVE-2026-135772"},"nickname":null,"packages":[],"prev":{"headline":"Apache IoTDB MCP Server: Connection password logged during startup in iotdb-mcp-server","id":"CVE-2026-135747"},"products":["Red Hat Build of Keycloak","Red Hat Single Sign-On 7"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["Red Hat"]},"summary":"Attackers with a user's password or session can bypass Keycloak's OTP policy and obtain tokens claiming higher security.","url":"https://insights.sbomify.com/CVE-2026-135768/"}