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.
Published: 2026-07-17
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Based on the description, the flaw lies in the keycloak‑services component, where validation of masked client secrets during an OIDC identity‑provider update is insufficient. When a delegated administrator changes the token URL using the sentinel value that masks the real secret, Keycloak mistakenly reuses the existing secret. It is inferred that this defect permits an attacker to set a malicious token URL, causing the real secret to be exposed or captured, and then use the compromised secret to forge authentication tokens or impersonate the identity provider, leading to unauthorized access to protected resources.

Affected Systems

Red Hat Build of Keycloak (various versions), Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign‑On 7. The flaw applies to any installation of these products where OIDC identity‑provider updates can be performed by delegated administrators.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate risk, and the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that exploitation requires the attacker to have delegated administrative privileges to edit an OIDC identity provider and the ability to modify the token URL to a malicious endpoint. Once the secret is captured, the attacker can impersonate the identity provider to gain unauthorized authentication. The attack path is confined to the administrative scope of the application and does not permit arbitrary code execution.

Generated by OpenCVE AI on July 31, 2026 at 00:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest vendor patch for Keycloak‑services that corrects the validation of masked client secrets during OIDC identity‑provider updates.
  • If a patch is unavailable, restrict or remove delegated administrative permissions for OIDC IDP management, or force a hard reset of the client‑related fields.
  • Implement additional input validation on the token URL field during IDP updates to reject malformed or suspicious URLs, ensuring the backend cannot post the malicious value and capture the secret.

Generated by OpenCVE AI on July 31, 2026 at 00:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On
Vendors & Products Redhat build Of Keycloak
Redhat data Grid
Redhat jboss Enterprise Application Platform Expansion Pack
Redhat single Sign On

Sat, 18 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 17 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title Keycloak-services: keycloak-services: oidc idp update reuses masked client secret after token url change
First Time appeared Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-1288
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat jboss Data Grid
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Build Of Keycloak Data Grid Jboss Data Grid Jboss Enterprise Application Platform Expansion Pack Jbosseapxp Red Hat Single Sign On Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-17T14:53:16.118Z

Reserved: 2026-07-16T09:20:43.530Z

Link: CVE-2026-15943

cve-icon Vulnrichment

Updated: 2026-07-17T14:53:11.389Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-16T06:27:49Z

Links: CVE-2026-15943 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T20:36:09Z

Weaknesses
  • CWE-1288

    Improper Validation of Consistency within Input