Skip to content

Fine-Grained Admin Permissions Bypass via Role Groups…#50781

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
vramik:50616-fgap-partial-eval-for-client-role-groups
Jul 16, 2026
Merged

Fine-Grained Admin Permissions Bypass via Role Groups…#50781
ahus1 merged 1 commit into
keycloak:mainfrom
vramik:50616-fgap-partial-eval-for-client-role-groups

Conversation

@vramik

@vramik vramik commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

… Endpoint

Closes #50616

@vramik
vramik force-pushed the 50616-fgap-partial-eval-for-client-role-groups branch from 21ea3a0 to 9cbbb62 Compare July 10, 2026 10:39
@vramik vramik changed the title Keycloak 26.6.3 Fine-Grained Admin Permissions Bypass via Role Groups… Fine-Grained Admin Permissions Bypass via Role Groups… Jul 10, 2026
@vramik
vramik marked this pull request as ready for review July 10, 2026 11:52
@vramik
vramik requested a review from a team as a code owner July 10, 2026 11:52
Copilot AI review requested due to automatic review settings July 10, 2026 11:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes FGAP v2 group-information exposure through role group-membership endpoints.

Changes:

  • Filters role-associated groups using group authorization rules.
  • Requires group-list permission for the endpoint.
  • Adds regression coverage for hidden groups.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
ClientResourceTypeEvaluationTest.java Tests permission-based filtering.
RoleContainerResource.java Requires group-list access.
JpaRealmProvider.java Applies authorization filters to role-group queries.
GroupRoleMappingEntity.java Removes the replaced named query.

@sguilhen sguilhen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vramik ! I have flagged only a couple of very small things, check if they make sense. If not we can move with the PR as is.

Closes keycloak#50616

Signed-off-by: vramik <vramik@redhat.com>
Copilot AI review requested due to automatic review settings July 16, 2026 12:26
@vramik
vramik force-pushed the 50616-fgap-partial-eval-for-client-role-groups branch from 9cbbb62 to 4414ad2 Compare July 16, 2026 12:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

ahus1
ahus1 previously approved these changes Jul 16, 2026
@ahus1
ahus1 dismissed their stale review July 16, 2026 14:25

team review is missing.

@ahus1
ahus1 merged commit dc0f68b into keycloak:main Jul 16, 2026
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CVE-2026-14613] Keycloak 26.6.3 Fine-Grained Admin Permissions Bypass via Role Groups Endpoint

4 participants