Bug 2585023 (CVE-2026-137602) - CVE-2026-137602 org.keycloak.services: Bypass do access check no Parameterized Scope User Property mapper
Summary: CVE-2026-137602 org.keycloak.services: Bypass do access check no Parameterize...
Keywords:
Status: NEW
Alias: CVE-2026-137602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-26 14:40 UTC by OSIDB Bzimport
Modified: 2026-11-26 14:44 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-26 14:40:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.