Improper Validation of Consistency within Input Affecting org.keycloak:keycloak-services package, versions [,26.8.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (38th 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-22989444
  • published26 Nov 2026
  • disclosed5 Nov 2026
  • creditUnknown

Introduced: 5 Nov 2026

NewCVE-2026-92857  (opens in a new tab)
CWE-1288  (opens in a new tab)

How to fix?

Upgrade org.keycloak:keycloak-services to version 26.8.2 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 Improper Validation of Consistency within Input via the ProtocolMappersClientRegistrationPolicy in Dynamic Client Registration. An attacker with a valid Initial Access Token and a realm account can register a client using an otherwise allowed protocol mapper configured with a claim.name of sub or aud, mapping their own profile details into those claims. When Keycloak issues tokens or returns UserInfo for that client, the forged identity claims can make the attacker appear to be another user or audience, enabling impersonation and unauthorized access to services that trust those claims.

Notes

  • At the mapper-configuration step, the attacker sets the mapper’s claim.name field to sub or aud; the vulnerability is that DCR does not validate this field for otherwise allowed mappers.

CVSS Base Scores

version 4.0
version 3.1