8000 Admin API v2 client GET discloses service-account role names without per-role visibility · Issue #55531 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Admin API v2 client GET discloses service-account role names without per-role visibility #55531

Backlog

Description

@Pepo48

Describe the bug

The Admin API v2 returns service-account role names in OIDC client responses without applying per-role visibility checks. Delegated administrators can see role names outside the scope of their role-view permissions.

Version

main

Expected behavior

Responses for individual OIDC clients and client lists should include only service-account roles the caller is authorized to view, consistent with the Admin API v1 role-mapping endpoints.

Actual behavior

Both response types include the names of all roles mapped to the client’s service account, including realm roles and roles belonging to other clients that the caller cannot otherwise view. The exposure is limited to role names.


This issue was originally tracked in the private repository. Migrated by @Pepo48.

Activity

  1. added
    priority/important
    area/admin/fine-grained-permissions
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. added
    area/admin/api-v2
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/admin/api-v2area/admin/fine-grained-permissionskind/weaknesspriority/importantteam/cloud-nativeteam/core-iam

    Fields

    No fields configured for weakness.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0