REDHAT-BUG-2585023: Medium severity Red Hat Keycloak vulnerability

Published Nov 26, 2026
·
Updated

When the parameterized-scopes preview feature is enabled, the

"Parameterized Scope User Property" protocol mapper resolves a user from the scope parameter (username, or email when login with email is enabled) and copies one of that user's attributes into the issued token. The access check that decides whether the authenticated user may see the target user's data is only applied when the scope's parameter type is username, user-delegation or client-delegation. For every other parameter type (string, which is the default, plus integer, boolean and custom) the check is skipped, but the lookup and attribute mapping still run. An authenticated user can therefore request a scope such as "share-with:username" and receive the users's attribute (for example email, id or any user-profile attribute) as a claim in their own token, without holding any view-users permission and without consent or interaction from the user. The flaw is a bypass of the earlier fix for keycloak/keycloak#51061 (fixed in 26.7.2 and 26.8.0 by keycloak/keycloak#51063), which only covered the username-type family. Affected endpoints are the token endpoint and the authorization endpoint of the OIDC protocol (/realms/{realm}/protocol/openid-connect/token and /auth), through the "scope" parameter.

Affected Software

1 affected component
Red Hat Keycloak

Event History

Nov 26, 2026
Data Sourced
via Red Hat·02:40 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Is the default parameter type affected?

Yes. The string parameter type is the default, and it skips the access check while still performing user lookup and attribute mapping.

2

What does an attacker need to exploit this?

The attacker needs to be authenticated and able to request a parameterized scope that uses the affected protocol mapper. They do not need view-users permission, consent, or interaction from the target user.

3

What information can be exposed?

The issued token can include an attribute from the user resolved by the scope parameter. Examples include email, ID, or any user-profile attribute selected by the mapper.

4

Which request paths are affected?

The affected OIDC paths are the token endpoint and the authorization endpoint. The issue applies when the parameterized-scopes preview feature is enabled.

5

Which parameter types enforce the access check?

The access check is applied for username, user-delegation, and client-delegation parameter types. It is skipped for string, integer, boolean, and custom parameter types.

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