CVE-2026-0871: Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes
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.
Published Feb 27, 2026 · Updated Feb 28, 2026
Affected packages
org.keycloak:keycloak-server-spi-private
- Ecosystem
- Maven
- Affected
- < 26.5.2
- Fixed in
- 26.5.2
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-server-spi-private
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-0871
- https://access.redhat.com/errata/RHSA-2026:2365
- https://access.redhat.com/errata/RHSA-2026:2366
- https://access.redhat.com/security/cve/CVE-2026-0871
- https://bugzilla.redhat.com/show_bug.cgi?id=2428881
- https://github.com/keycloak/keycloak/issues/45873
- https://github.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa
- https://github.com/advisories/GHSA-v4jw-m6rm-399h
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-9791
Keycloak Vulnerable to Incorrect Authorization
medium4.3No fixMay 28, 2026CVE-2026-9704
Keycloak Vulnerable to Improper Validation of Specified Quantity in Input
medium6.8May 27, 2026CVE-2026-3190
Keycloak: Missing Role Enforcement on UMA 2.0 Permission Ticket Endpoint Leads to Information Disclosure
medium4.3Mar 26, 2026CVE-2026-2603
Keycloak: Unauthorized authentication via disabled SAML Identity Provider
high8.1Mar 18, 2026
