NetSight
medium4.9

CVE-2026-0871

Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes

Impact

A flaw was found in Keycloak. An administrator with `manage-users` permission can bypass the "Only administrators can view" setting for unmanaged attributes, allowing them to modify these attributes. This improper access control can lead to unauthorized changes to user profiles, even when the system is configured to restrict such modifications.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-server-spi-private< 26.5.226.5.2

Affected products

VendorProductAffected versions
RedhatBuild Of Keycloak
before 26.4.9
All versions
RedhatKeycloak
before 26.4.0

Weakness classification

References