CVE-2026-143801: Keycloak-services: keycloak-services: admin rest users/count endpoint ignores per-user view permissions

Published Dec 3, 2026
·
Updated

A flaw was found in the Keycloak Admin REST API, which is used to manage users and configurations within a realm. The users/count endpoint fails to properly check if an administrator has permission to view specific users before including them in the total count. This allows a restricted administrator to use the count as an oracle to systematically discover sensitive user information, such as usernames, email addresses, and custom attributes, that they should not be able to access.

Affected Software

1 affected component
Keycloak Keycloak

Event History

Dec 3, 2026
CVE Published
via MITRE·06:17 AM
Data Sourced
via MITRE·06:17 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Keycloak administrator with restricted permissions can exploit it. The attack requires high privileges, but does not require user interaction.

2

Is a default deployment affected?

The issue depends on having an administrator whose permissions are restricted on a per-user basis. The provided information does not establish whether default Keycloak role assignments create that condition.

3

What information could be exposed?

The count endpoint can act as an oracle for discovering sensitive user information that the administrator is not permitted to view, including usernames, email addresses, and custom attributes.

4

How can an organization determine whether it is exposed?

Review whether restricted administrators can call the Admin REST API users/count endpoint and whether those administrators are subject to per-user view permissions. If so, they may be able to infer information about users outside their authorized view.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203