CVE-2026-105302

Keycloak-services: keycloak-services: user session note mapper exposes upstream idp access tokens

Published Oct 5, 2026 CVSS 3.1 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the User Session Note mapper of the Keycloak identity and access management solution. The issue occurs because the mapper does not validate whether a requested session note contains sensitive internal credentials, such as federated access tokens from external identity providers. This allows a delegated client administrator to leak a user's upstream bearer tokens into the tokens issued to their managed application, potentially leading to unauthorized access to the user's data on external platforms.

Analysis

AI-generated

Technical impact

The User Session Note mapper in Red Hat Build of Keycloak fails to validate whether a requested session note contains sensitive internal credentials; the vulnerability is a classic example of CWE‑200, Information Exposure. Because of this flaw, a delegated client administrator can retrieve federation access tokens from external identity providers and include them in the tokens issued to their managed applications. This exposure of upstream bearer tokens can give the attacker unauthorized access to the user’s data on external platforms and results in a confidentiality breach.

Affected Systems

The vulnerability affects Red Hat Build of Keycloak and Red Hat Single Sign‑On 7. No specific affected versions are listed, so all builds of these products could be impacted until a vulnerability fix is released.

Risk and Exploitability

The CVSS score of 5.7 indicates a medium severity. EPSS data is not available, and the issue is not listed in the CISA KEV catalog, which suggests a lower public exploitation probability at present. The attack requires that the adversary be a delegated client administrator with sufficient rights to request session notes; once able, the attacker can pull upstream tokens and embed them in application tokens. Even though the attack surface is limited to privileged users, leaking these tokens can lead to attacker‑owned impersonation of the user on external services.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Apply any vendor patch or update to the affected Keycloak product as soon as it becomes available.
  • Restrict delegated client administrator privileges so they cannot access session notes that may contain federated tokens.
  • Disable or restrict the configuration of the User Session Note mapper for any internal or sensitive notes.
  • Enable detailed logging to detect attempts to retrieve or misuse session notes.

Generated by OpenCVE AI on October 5, 2026 at 07:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in the User Session Note mapper of the Keycloak identity and access management solution. The issue occurs because the mapper does not validate whether a requested session note contains sensitive internal credentials, such as federated access tokens from external identity providers. This allows a delegated client administrator to leak a user's upstream bearer tokens into the tokens issued to their managed application, potentially leading to unauthorized access to the user's data on external platforms.
Title Keycloak-services: keycloak-services: user session note mapper exposes upstream idp access tokens
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-200
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 5.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 5, 2026, 2:55 PM
Reserved
Oct 5, 2026, 5:32 AM
Status
Awaiting Analysis
Published
Oct 5, 2026, 6:16 AM
Modified
Oct 6, 2026, 3:09 PM
Severity
Moderate
Public date
Oct 2, 2026, 12:19 PM