Incorrect Privilege Assignment 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.36% (29th 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 Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGKEYCLOAK-15157178
  • published30 Jan 2026
  • disclosed27 Jan 2026
  • creditSimone Paganessi

Introduced: 27 Jan 2026

CVE-2025-13881  (opens in a new tab)
CWE-266  (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 Incorrect Privilege Assignment via the Admin API. An attacker can access sensitive user attributes by sending crafted requests with limited administrator privileges.

Note:

This is only exploitable if the attacker has a valid account on the realm, has view-users role and the target realm uses the User Profile feature with custom attributes set to restricted visibility.

CVSS Base Scores

version 4.0
version 3.1