Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes
Published 27 Feb 2026 · Updated 26 Aug 2026
Is your project on an affected org.keycloak:keycloak-server-spi-private?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <26.5.2
- Fixed in
- 26.5.2
mvn versions:use-dep-version -Dincludes=org.keycloak:keycloak-server-spi-private -DdepVersion=26.5.2 -DforceVersion=trueDetails
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.
Is GHSA-v4jw-m6rm-399h in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.keycloak:keycloak-server-spi-private, and gives you the command that fixes it.
More advisories for org.keycloak:keycloak-server-spi-private
- MediumCVE-2026-9791Keycloak Vulnerable to Incorrect Authorization · 28 May 2026
- MediumCVE-2026-9704Keycloak Vulnerable to Improper Validation of Specified Quantity in Input · 27 May 2026
- MediumCVE-2026-3190Keycloak: Missing Role Enforcement on UMA 2.0 Permission Ticket Endpoint Leads to Information Disclosure · 26 Mar 2026
- HighCVE-2026-2603Keycloak: Unauthorized authentication via disabled SAML Identity Provider · 18 Mar 2026
- LowCVE-2023-2585Client Spoofing within the Keycloak Device Authorisation Grant · 30 Jun 2023
- MediumCVE-2020-10776Cross-site Scripting in keycloak · 9 Feb 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-0871
- Linkgithub.com/keycloak/keycloak/issues/45873
- Linkgithub.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa
- Linkaccess.redhat.com/errata/RHSA-2026:2365
- Linkaccess.redhat.com/errata/RHSA-2026:2366
- Linkaccess.redhat.com/security/cve/CVE-2026-0871
- Linkbugzilla.redhat.com/show_bug.cgi?id=2428881
- Packagegithub.com/keycloak/keycloak
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.