Bug 2418330 (CVE-2025-13881) - CVE-2025-13881 org.keycloak.services.resources.admin: Keycloak: Limited administrator can retrieve sensitive user attributes via Admin API
Summary: CVE-2025-13881 org.keycloak.services.resources.admin: Keycloak: Limited admin...
Keywords:
Status: NEW
Alias: CVE-2025-13881
Deadline: 2026-03-04
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-02 14:02 UTC by OSIDB Bzimport
Modified: 2026-02-02 05:36 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-02 14:02:21 UTC
The Keycloak Admin API (/unmanagedAttributes) endpoint fails to respect the visibility configuration defined in the User Profile settings. This allows an administrator with limited privileges (specifically the view-users role) to retrieve sensitive custom attributes—such as phone numbers or personal addresses—that are explicitly configured to be hidden from both users and administrators in the GUI.

Requirements to exploit

The attacker must have a valid account on the realm.
The attacker must have the view-users role (considered an admin privilege).
The target realm must use the User Profile feature with custom attributes set to restricted visibility.
Component affected: org.keycloak.services.resources.admin


Note You need to log in before you can comment on or make changes to this bug.