Access of Resource Using Incompatible Type ('Type Confusion') Affecting org.keycloak:keycloak-services package, versions [,26.4.14)[26.6.0, 26.6.5)[26.7.0, 26.7.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th 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 IDSNYK-JAVA-ORGKEYCLOAK-18752041
  • published13 Aug 2026
  • disclosed5 Aug 2026
  • creditArthur Chan

Introduced: 5 Aug 2026

NewCVE-2026-15572  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.4.14, 26.6.5, 26.7.1 or higher.

Overview

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

Affected versions of this package are vulnerable to Access of Resource Using Incompatible Type ('Type Confusion') in ProtocolMappersClientRegistrationPolicy via the Dynamic Client Registration client update path. An attacker with client registration privileges can bypass the “Allowed Protocol Mapper Types” restriction by updating an existing mapper so its configuration stays the same while changing its mapper type to a restricted one, then use that mapper to hardcode privileged roles and gain full administrative access to the realm.

CVSS Base Scores

version 4.0
version 3.1