MediumGHSA-v4jw-m6rm-399hBIT-keycloak-2026-0871CVE-2026-0871

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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.keycloak:keycloak-server-spi-private -DdepVersion=26.5.2 -DforceVersion=true

Details

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
org.keycloak:keycloak-server-spi-private security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.