Keycloak Account Resources user lookup contains broken access control
GHSA-933f-rg6j-f46p · CVE-2026-37981
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-37981
- WEB https://github.com/keycloak/keycloak/issues/49116
- WEB https://github.com/keycloak/keycloak/pull/49122
- WEB https://github.com/keycloak/keycloak/commit/33f6f873fda2c9546e52d34b4f865eafc42df0c0
- WEB https://github.com/keycloak/keycloak/commit/b68070bcf96a6fe7d0f01cee5d3cbde71f2abbe7
- WEB https://access.redhat.com/errata/RHSA-2026:19596
- WEB https://access.redhat.com/errata/RHSA-2026:19597
- WEB https://access.redhat.com/security/cve/CVE-2026-37981
- WEB https://bugzilla.redhat.com/show_bug.cgi?id=2455326
- PACKAGE https://github.com/keycloak/keycloak
Ready to move
Start Securing
Free, no credit card | First findings in minutes