CVE-2026-37981: Keycloak Account Resources user lookup contains broken access control
(updated )
Keycloak’s 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.
References
- access.redhat.com/errata/RHSA-2026:19596
- access.redhat.com/errata/RHSA-2026:19597
- access.redhat.com/security/cve/CVE-2026-37981
- bugzilla.redhat.com/show_bug.cgi?id=2455326
- github.com/advisories/GHSA-933f-rg6j-f46p
- github.com/keycloak/keycloak/commit/33f6f873fda2c9546e52d34b4f865eafc42df0c0
- github.com/keycloak/keycloak/commit/b68070bcf96a6fe7d0f01cee5d3cbde71f2abbe7
- github.com/keycloak/keycloak/issues/49116
- github.com/keycloak/keycloak/pull/49122
- nvd.nist.gov/vuln/detail/CVE-2026-37981
Code Behaviors & Features
Detect and mitigate CVE-2026-37981 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →