---
id: CVE-2026-17059
title: >-
  A flaw was found in the role-users endpoint of the keycloak-services library,
  which is the core component of the Keycloak identity and access management
  solution
summary: >-
  A flaw was found in the role-users endpoint of the keycloak-services library,
  which is the core component of the Keycloak identity and access management
  solution. The issue occurs because the system fails to check if an
  administrator has…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-639
vendor: redhat
product: build_of_keycloak
affected:
  - build_of_keycloak
published: '2026-07-24'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T19:17:08.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-17059'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:68277'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:68278'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-17059'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2506746'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-17059.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-17059'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-17059'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00493
epssPercentile: 0.41299
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-24T14:52:03.377236Z'
ingestedAt: '2026-09-16T15:58:38.769Z'
patched:
  - build_of_keycloak 26.6
  - build_of_keycloak 26.6.7
---

## Overview

A flaw was found in the role-users endpoint of the keycloak-services library, which is the core component of the Keycloak identity and access management solution. The issue occurs because the system fails to check if an administrator has permission to view individual users when listing members of a role. This allows a restricted administrator to see private information, such as names and email addresses, for users they should not be able to access.

## Affected

- `build_of_keycloak`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:68277** · Red Hat · fixed in: Red Hat build of Keycloak 26.6 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68277)
- **RHSA-2026:68278** · Red Hat · fixed in: Red Hat build of Keycloak 26.6.7 · released 2026-09-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:68278)
