Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-server-spi-private
  4. ›
  5. CVE-2026-0871

CVE-2026-0871: Keycloak Server Private SPI: Improper Access Control Allows Administrators to Bypass Attribute Visibility Restrictions and Modify Unmanaged User Profile Attributes

February 27, 2026 (updated February 28, 2026)

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

  • access.redhat.com/errata/RHSA-2026:2365
  • access.redhat.com/errata/RHSA-2026:2366
  • access.redhat.com/security/cve/CVE-2026-0871
  • bugzilla.redhat.com/show_bug.cgi?id=2428881
  • github.com/advisories/GHSA-v4jw-m6rm-399h
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/9d0f679ecea405958f167fcd0f4a6db6ae32c3fa
  • github.com/keycloak/keycloak/issues/45873
  • nvd.nist.gov/vuln/detail/CVE-2026-0871

Code Behaviors & Features

Detect and mitigate CVE-2026-0871 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.5.2

Fixed versions

  • 26.5.2

Solution

Upgrade to version 26.5.2 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.keycloak/keycloak-server-spi-private/CVE-2026-0871.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:32 +0000.