MEDIUM4.9
GHSA-v4jw-m6rm-399h
Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes
Quick fix
GHSA-v4jw-m6rm-399h — org.keycloak:keycloak-server-spi-private: upgrade to the fixed version with the command below.
# pom.xml: bump <version>26.5.2</version> for org.keycloak:keycloak-server-spi-privateDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.keycloak:keycloak-server-spi-private
Introduced in:
0Fixed in: 26.5.2Fix
# pom.xml: bump <version>26.5.2</version> for org.keycloak:keycloak-server-spi-privateReferences
- https://nvd.nist.gov/vuln/detail/CVE-2026-0871[ADVISORY]
- https://github.com/keycloak/keycloak/issues/45873[WEB]
- https://github.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa[WEB]
- https://access.redhat.com/errata/RHSA-2026:2365[WEB]
- https://access.redhat.com/errata/RHSA-2026:2366[WEB]
- https://access.redhat.com/security/cve/CVE-2026-0871[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2428881[WEB]
- https://github.com/keycloak/keycloak[PACKAGE]