Skip to content

[CVE-2026-16108] Realm default-group reads disclose hidden groups und…#51090

Open
martin-kanis wants to merge 1 commit into
keycloak:mainfrom
martin-kanis:issue-51001
Open

[CVE-2026-16108] Realm default-group reads disclose hidden groups und…#51090
martin-kanis wants to merge 1 commit into
keycloak:mainfrom
martin-kanis:issue-51001

Conversation

@martin-kanis

Copy link
Copy Markdown
Contributor

…er FGAP v2

Closes #51001

…er FGAP v2

Closes keycloak#51001

Signed-off-by: Martin Kanis <mkanis@ibm.com>
Copilot AI review requested due to automatic review settings July 22, 2026 12:28
@martin-kanis
martin-kanis requested a review from a team as a code owner July 22, 2026 12:28

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 CVE-2026-16108 by preventing delegated administrators from discovering default groups they cannot view.

Changes:

  • Filters default groups using FGAP group-view permissions.
  • Applies filtering to realm details, realm listings, and the default-groups endpoint.
  • Adds integration coverage for denied and granted access.

Reviewed changes

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

File Description
RealmAdminResource.java Filters default groups in realm details and endpoint responses.
RealmsAdminResource.java Filters default groups in realm listings.
GroupResourceTypeFilteringTest.java Tests hidden and explicitly permitted default groups.

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-16108] Realm default-group reads disclose hidden groups under FGAP v2

3 participants