medium4.3
CVE-2026-37981
Keycloak Account Resources user lookup contains broken access control
Impact
A flaw was found in Keycloak. A broken access control vulnerability in the Account Resources user lookup endpoint allows a remote authenticated user, who owns at least one User-Managed Access (UMA) resource, to enumerate and harvest personally identifiable information (PII) for all realm users. By sending crafted requests with arbitrary usernames or email values, the endpoint returns full profile objects for unrelated users. This leads to broad profile-level information disclosure.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.keycloak:keycloak-services | < 26.4.12 | 26.4.12 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Build Of Keycloak | from 26.4 before 26.4.12 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-933f-rg6j-f46p
- https://nvd.nist.gov/vuln/detail/CVE-2026-37981
- https://access.redhat.com/security/cve/CVE-2026-37981
- https://bugzilla.redhat.com/show_bug.cgi?id=2455326
- https://github.com/keycloak/keycloak/issues/49116
- https://github.com/keycloak/keycloak/pull/49122
- https://github.com/keycloak/keycloak/commit/33f6f873fda2c9546e52d34b4f865eafc42df0c0
- https://github.com/keycloak/keycloak/commit/b68070bcf96a6fe7d0f01cee5d3cbde71f2abbe7
- https://access.redhat.com/errata/RHSA-2026:19596
- https://access.redhat.com/errata/RHSA-2026:19597