Skip to main content

Red Hat Keycloak CVE-2026-15943

| EUVDEUVD-2026-45164 MEDIUM
Improper Validation of Consistency within Input (CWE-1288)
2026-07-17 redhat GHSA-rpfh-mgxm-c6hc
5.5
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
5.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
vuln.today AI
5.5 MEDIUM

PR:H reflects mandatory delegated admin access; C:H captures full client secret exfiltration; I:L reflects token URL tampering; AV:N because exploitation occurs via the web-based admin interface.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat
5.5 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 17, 2026 - 12:21 vuln.today
CVE Published
Jul 17, 2026 - 11:49 cve.org
MEDIUM 5.5

DescriptionCVE.org

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.

AnalysisAI

Keycloak's identity provider management component exposes OIDC client secrets to delegated administrators who manipulate the masked sentinel value mechanism during IdP updates. When a delegated admin submits a configuration update using the sentinel placeholder for the client secret while simultaneously changing the token URL to an attacker-controlled endpoint, Keycloak improperly reuses the real underlying secret without validating the consistency of the changed security-sensitive field. On the next authentication flow through that identity provider, Keycloak transmits the real client secret to the attacker's token URL, resulting in credential exfiltration. No public exploit code has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog.

Technical ContextAI

The vulnerable component is keycloak-services, which manages the lifecycle of OIDC identity providers within Keycloak's federated identity architecture. Keycloak employs a masked sentinel value pattern in its UI and API to avoid round-tripping plaintext secrets - when an admin views or edits an IdP configuration, the actual client_secret is replaced with a placeholder sentinel. The intended behavior is that if the admin submits the sentinel unchanged, the real secret is preserved; if a new secret is provided, it replaces the old one. CWE-1288 (Improper Validation of Consistency within Input) precisely describes the flaw: the system fails to check whether submission of the sentinel alongside a changed token_url creates an inconsistent and insecure state. Specifically, Keycloak reuses the real secret even when the token endpoint URL - the destination to which that secret will be transmitted - has been changed to an untrusted value. Affected CPEs include cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack, and cpe:2.3:a:red_hat:red_hat_data_grid_8.

RemediationAI

Apply the vendor-supplied patch through the Red Hat Customer Portal advisory at https://access.redhat.com/security/cve/CVE-2026-15943; an exact fixed version is not independently confirmed from the available data, so consult that page and the associated Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2501270 for the precise target version. As a compensating control pending patching, revoke or tightly scope delegated administrator roles to limit which accounts can modify identity provider configurations - this directly removes the attack surface since PR:H is required. Audit existing OIDC identity provider token URLs for unexpected changes as an indicator of prior exploitation. If delegated admin access cannot be restricted, consider disabling the ability for delegated admins to modify OIDC token URLs specifically, if Keycloak's fine-grained policy framework permits that scope restriction. Note that removing delegated admin access may disrupt legitimate administrative workflows and should be assessed against operational requirements.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

CVE-2026-7504 HIGH
8.1 May 19

Open redirect in Red Hat build of Keycloak permits remote attackers to send victims to attacker-controlled hosts by abus

Vendor StatusVendor

Share

CVE-2026-15943 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy