CVE-2026-16104: Keycloak-services: keycloak-services: authenticator config endpoint exposes raw recaptcha secrets to view-only admins

Published Jul 17, 2026
·
Updated

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.

Other sources

An Information Exposure vulnerability was found in the GET /admin/realms/{realm}/authentication/config/{id} endpoint of Keycloak. The root cause is located in the ModelToRepresentation.toRepresentation method, which copies the configuration map without filtering or masking entries marked as secret in the provider metadata. Consequently, an authenticated user with the view-realm role can retrieve raw secret values, such as secret.key for reCAPTCHA and api.key for reCAPTCHA Enterprise. Additionally, these unmasked secrets are serialized into admin events, making them visible to any user with permission to read administrative logs. An attacker can use these secrets to undermine the integrity of bot-detection mechanisms in the affected realm.

Red Hat

Affected Software

1 affected component
Keycloak keycloak-services

Event History

Jul 17, 2026
Data Sourced
via Red Hat·02:48 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·04:43 PM
Data Sourced
via MITRE·04:43 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-16104?

The severity of CVE-2026-16104 is medium with a score of 4.3.

2

What does CVE-2026-16104 affect?

CVE-2026-16104 affects the keycloak-services component of Keycloak, specifically the authentication configuration endpoint.

3

How do I fix CVE-2026-16104?

To mitigate CVE-2026-16104, ensure that only trusted administrators have access to configuration values and consider applying any available updates or patches from Keycloak.

4

What is exposed in CVE-2026-16104?

CVE-2026-16104 exposes raw reCAPTCHA secret keys to view-only administrators on the authentication configuration endpoint.

5

What is the impact of CVE-2026-16104 on security?

The impact of CVE-2026-16104 can lead to unauthorized access to sensitive reCAPTCHA secrets, potentially compromising the security of web applications relying on them.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203