Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain view-only Keycloak admin credentials
-
DeliveryAuthenticate to Keycloak admin API
-
ExploitQuery authentication configuration endpoint
-
ExecutionReceive unmasked third-party API secrets
-
PersistExfiltrate reCAPTCHA or service credentials
-
ImpactAbuse credentials against third-party service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V6 - Authentication Credential protection in transit/storage
|
| Exploitation Conditions | Exploitation requires an authenticated Keycloak administrative session with at least view-only realm-admin permissions (PR:L per CVSS vector). The vulnerability is specific to the authentication configuration endpoint within keycloak-services and is only reachable if third-party service credentials (such as reCAPTCHA secret keys) have been configured in the Keycloak authentication flow. Exploitation is limited to users who already hold a valid Keycloak administrative account - anonymous or non-administrative authenticated users cannot reach this endpoint. The exposure is compounded in environments where administrative audit logs capture full API response bodies, as the credentials may appear in log storage accessible to log-pipeline operators beyond just the direct API caller. There is no requirement for a special non-default configuration beyond having external service credentials (e.g., reCAPTCHA) populated in the authentication configuration. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) scores 4.3 Medium, accurately reflecting that exploitation requires low-privilege authenticated access and produces only limited confidentiality impact per the scoring rubric. However, the practical risk warrants careful consideration: the exposed values are functional third-party API secrets (e.g., reCAPTCHA secret keys) which, once exfiltrated, can be used to abuse external services entirely outside Keycloak's control plane - an indirect integrity and availability impact not captured by the base CVSS score. The key limiting factor is the PR:L requirement: an attacker must already hold a Keycloak administrative account with at least view-only realm access, which represents a meaningful barrier in well-governed environments. No EPSS score was provided in the source data, and the absence of KEV listing and any public POC suggests this is not being exploited opportunistically at scale. The most realistic threat model is an insider threat or a compromised view-only admin account being used to harvest credentials for downstream service abuse. Organizations with strict separation between view-only and configuration-change admin roles, or those that have configured reCAPTCHA and similar integrations, should treat this as a priority rotation and access-review item despite the moderate CVSS score. |
| Exploit ScenarioDerived | An attacker who has obtained or been legitimately granted a Keycloak administrative account with view-only realm permissions - via phishing, credential stuffing, or insider access - sends an authenticated GET request to the authentication configuration endpoint in the Keycloak admin API. The response returns the full configuration blob including the reCAPTCHA secret key in plaintext. The attacker then uses those credentials to interact with the Google reCAPTCHA API or other configured third-party services, bypassing CAPTCHA protections on any application relying on that key. No public POC code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Sensitive credential exposure in the keycloak-services authentication configuration endpoint allows view-only administrators to retrieve unmasked third-party service secrets, such as reCAPTCHA secret keys, through the administrative API. Affected deployments include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and the JBoss EAP Expansion Pack. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog; however, the confidential nature of the exposed values - functional API credentials for third-party services - elevates the practical impact beyond what the CVSS score of 4.3 might initially suggest.
RemediationAI
The primary remediation is to apply the vendor-released patch once available via the Red Hat Customer Portal at https://access.redhat.com/security/cve/CVE-2026-16104; no specific fixed version number is confirmed in the available data at the time of this analysis. As an immediate compensating control, administrators should audit and minimize the number of accounts holding view-only realm-admin permissions in Keycloak, removing access for any accounts that do not require it - reducing the set of principals that could exploit this endpoint. All third-party service credentials currently configured in Keycloak authentication flows (including reCAPTCHA secret keys and any similar API secrets) should be rotated immediately and treated as potentially compromised if view-only admin accounts have accessed the configuration endpoint. If administrative audit logging captures API responses, logs should be reviewed and scrubbed for plaintext credential values. Organizations unable to patch promptly should restrict Keycloak administrative console access to trusted internal network segments using network ACLs, accepting the trade-off of reduced administrative flexibility for external operators.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is keycloak-services, the core processing engine within Red Hat Build of Keycloak, which handles identity provider configuration, authentication flows, and integration with external services such as Google reCAPTCHA. When an administrator requests the authentication configuration via the administrative endpoint, the system returns configuration blobs containing sensitive fields (e.g., reCAPTCHA secret keys) in plaintext rather than masking or redacting them. The root-cause class is improper output neutralization or sensitive data exposure - functionally similar to CWE-312 (Cleartext Storage of Sensitive Information) or CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor), though the NVD has not assigned a CWE for this entry. The CPE strings confirm impact across 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_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack, all of which share the affected keycloak-services dependency.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Network-accessible admin API requires low-privilege admin auth (PR:L); only specific credential values exposed, so C:L; no integrity or availability impact.
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
1DescriptionNVD
A flaw was found in the authentication configuration endpoint of the keycloak-services component, which is the core engine for Red Hat Build of Keycloak identity and access management. The issue occurs because the system fails to mask sensitive configuration values, such as reCAPTCHA secret keys, when they are requested by administrators with view-only permissions. This can lead to the exposure of third-party service credentials to unauthorized personnel or through administrative logs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-45226
GHSA-qh48-wwv4-fmr8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB