CVE-2026-15943

Keycloak-services: keycloak-services: oidc idp update reuses masked client secret after token url change

State
Published
Severity
5.5 Medium
Published
Jul 17, 2026
Updated
Aug 31, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

Description

A flaw was found in the Keycloak keycloak-services component, which handles the management of identity providers. The issue occurs when a delegated administrator updates an OIDC identity provider using a masked client secret sentinel value. Due to improper validation, Keycloak reuses the existing real secret even if security-sensitive fields like the token URL have been changed, allowing an attacker to redirect and capture the secret.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:Nredhat

Weaknesses

  • CWE-1288 Improper Validation of Consistency within Input

Affected Products

ProductVersions
Red Hat Build of KeycloakRed Hat
    Red Hat Build of KeycloakRed Hat
      Red Hat Build of KeycloakRed Hat
        Red Hat Data Grid 8Red Hat
          Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat
            Red Hat Single Sign-On 7Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.