Access Control Bypass Affecting org.keycloak:keycloak-server-spi-private package, versions [,26.5.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-15366517
  • published2 Mar 2026
  • disclosed27 Feb 2026
  • creditUnknown

Introduced: 27 Feb 2026

CVE-2026-0871  (opens in a new tab)
CWE-266  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-server-spi-private to version 26.5.2 or higher.

Overview

org.keycloak:keycloak-server-spi-private is an open source identity and access management solution for modern applications and services.

Affected versions of this package are vulnerable to Access Control Bypass due to the DefaultAttributes attribute filtering in the user profile management. An attacker with manage-users permission can make unauthorized modifications to user profile attributes even when the “Only administrators can view” policy is enabled by bypassing the edit restriction on unmanaged attributes.

CVSS Base Scores

version 4.0
version 3.1