GitHub Advisory Database
GHSA-g78x-7vwx-9f58
Keycloak Admin API allows an administrator with limited privileges to retrieve sensitive custom attributes
Details
A flaw was found in Keycloak Admin API. This vulnerability allows an administrator with limited privileges to retrieve sensitive custom attributes via the /unmanagedAttributes endpoint, bypassing User Profile visibility settings.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | From 26.5.0 before 26.5.2 (fixed in 26.5.2) |
| Maven | org.keycloak:keycloak-services | All versions before 26.4.9 (fixed in 26.4.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-13881
- https://github.com/keycloak/keycloak/issues/45873
- https://github.com/keycloak/keycloak/pull/45427
- https://github.com/keycloak/keycloak/commit/1d7ab8d5fb1403902f5152820a8fc734d38b08d2
- https://github.com/keycloak/keycloak/commit/c5c83d6604d4c73139f38fce3ed7b7c4c38c09f2
- https://access.redhat.com/errata/RHSA-2026:2365
- https://access.redhat.com/errata/RHSA-2026:2366
- https://access.redhat.com/security/cve/CVE-2025-13881
- https://bugzilla.redhat.com/show_bug.cgi?id=2418330
- https://github.com/keycloak/keycloak