Live threats

All CVEs / Redhat

CVE-2023-6787Redhat Build Of Keycloak

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Apr 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

A flaw was found in Keycloak that occurs from an error in the re-authentication mechanism within org.keycloak.authentication. This flaw allows hijacking an active Keycloak session by triggering a new authentication process with the query parameter "prompt=login," prompting the user to re-enter their credentials. If the user cancels this re-authentication by selecting "Restart login," an account takeover may occur, as the new session, with a different SUB, will possess the same SID as the previous session.

Original NVD text.

What to do

  1. Apply the vendor's security update for Build Of Keycloak.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.keycloak:keycloak-services < 22.0.10 22.0.10 —
Maven org.keycloak:keycloak-services ≥ 23.0.0 < 24.0.3 24.0.3 —

Per OSV / GitHub Advisories (GHSA-c9h6-v78w-52wj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatbuild_of_keycloakall
redhatkeycloak< 22.0.10
redhatkeycloak≥ 23.0.0 < 24.0.3

Official sources

References

Links published by the sources. Open them with care.