CVE-2026-16089 Keycloak-services: keycloak-services: authorization codes can be retargeted to another client session

Medium 5.4 Published Updated

Attackers can intercept and retarget OAuth authorization codes to their own client, potentially obtaining access tokens for victim identities.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-16089?

CVE-2026-16089 is a medium-severity authentication bypass vulnerability in Redhat Build of Keycloak, published on 17 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A flaw was found in the keycloak-services component of Red Hat Build of Keycloak. The issue occurs because OAuth 2.0 authorization codes are not properly bound to the client that originally requested them. An attacker who can intercept an authorization code can modify it to be redeemed by their own client, potentially allowing them to obtain access tokens for a victim's identity.

Weakness: CWE-384, CWE-472

Which versions are affected by CVE-2026-16089?

1 open source package ship an affected version, including keycloak. It affects 1 product.

PackageAffectedFixed in
keycloak BitnamiAll versions26.7.3

Products include Redhat Build of Keycloak.

How do I fix CVE-2026-16089?

Upgrade keycloak to 26.7.3 or later.

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

Is CVE-2026-16089 being exploited?

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

All Redhat Build of Keycloak vulnerabilities

Sources

Also known as BIT-keycloak-2026-16089, CLEANSTART-2026-QJ88718, GHSA-63wm-fvw8-h2hp.

Is CVE-2026-16089 in your software?

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

Check your SBOMs for free