CVE-2026-135768 Keycloak-services: keycloak-services: policy-selected otp flow accepts password sso

Published Updated

Attackers with a user's password or session can bypass Keycloak's OTP policy and obtain tokens claiming higher security.

CVSS score

Medium

6.8/10

CVSS 3.1 · Scored by Red Hat Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-135768?

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.

Official 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.

Weakness: CWE-287

How severe is CVE-2026-135768?

CVE-2026-135768 scores 6.8 out of 10 under CVSS 3.1, which is medium severity. It was scored by Red Hat.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Which versions are affected by CVE-2026-135768?

It affects 2 products.

Only installations with a non-default setting turned on are exposed.

Products include Redhat Build Keycloak, Redhat Red Hat Single Sign On.

CPE match criteria 2
CPE 2.3Versions
cpe:2.3:a:redhat:build_keycloak:*:*:*:*:*:*:*:*All versions
cpe:2.3:a:redhat:red_hat_single_sign_on:7:*:*:*:*:*:*:*7

How do I fix CVE-2026-135768?

No fix has been published for CVE-2026-135768 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-135768 being exploited?

There is no known exploitation of CVE-2026-135768 in the wild and no public exploit code.

Sources

Also known as GHSA-r2gq-8phg-jm54.

Is CVE-2026-135768 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free