Insertion of Sensitive Information Into Sent Data Affecting org.keycloak:keycloak-services package, versions [26.5.0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th 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-18602952
  • published10 Aug 2026
  • disclosed16 Jul 2026
  • creditUnknown

Introduced: 16 Jul 2026

CVE-2026-16072  (opens in a new tab)
CWE-201  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

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 Insertion of Sensitive Information Into Sent Data through OrganizationInvitationResource.toRepresentation() in OrganizationInvitationResource.java. An attacker can retrieve the secret invitation link by creating or listing an organization invitation through the admin REST API, then use that link to register new accounts and add them to the organization without manage-users permission or access to the invited mailbox. This lets a delegated organization administrator bypass the intended invitation workflow and create unauthorized organization members.

Notes

  • The leaked link was exposed in both the single-invitation get response and the invitations list response, so any caller with organization-invitation read access could recover it without going through the email-delivery path.
  • The admin console also rendered a “Copy invite link” action from the same response field, so deployments using the web UI exposed the secret link there as well as through the REST API.

CVSS Base Scores

version 4.0
version 3.1