GitHub Advisoryadvisory · Maven

GHSA-v4jw-m6rm-399h Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes

MEDIUM Published 2026-02-27 Modified 2026-02-28 Official page ↗
Aliases
CVE-2026-0871
Ecosystem
Maven
Packages
org.keycloak:keycloak-server-spi-private
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-266, CWE-284
Reviewed
2026-02-28

Affected packages

• Maven org.keycloak:keycloak-server-spi-private: < 26.5.2 → fixed in 26.5.2

Description

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.

Related

Alias · CVE (1)

Weakness · CWE (2)

  • CWE-266 Incorrect Privilege Assignment weakness
  • CWE-284 Improper Access Control weakness

References