Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain delegated client-admin role
-
DeliveryConfigure session note mapper for federated token
-
ExploitVictim authenticates to managed application
-
ExecutionUpstream bearer token leaked into issued token
-
ImpactReplay token to access external platform data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) an attacker holding a delegated/scoped client-administrator privilege able to configure protocol mappers on a client, (2) Keycloak deployed with federated external identity providers whose upstream access/bearer tokens are stored and exposable as user session notes, and (3) a victim user actually authenticating to the attacker-controlled managed application (UI:R) so a token containing the sensitive note is issued. The flaw is the User Session Note mapper's failure to validate that the requested session note is not a sensitive internal credential. Limiting factors: it is not remote-unauthenticated - it needs administrative rights over a client plus active victim interaction, and it only has impact where external-IdP token storage/federation is configured; default deployments without federated token storage are not exposed. |
| Impact | This is a genuine but moderate-priority issue, not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N, base 5.7) correctly reflects a confidentiality-only flaw that is gated by two real barriers: the attacker must already hold a delegated client-administrator privilege (PR:L) and a victim user must interact by authenticating to the attacker-controlled managed application (UI:R). There is no integrity or availability impact. No EPSS score, CISA KEV listing, or public POC was provided in the input, so by the precision rules this is 'no public exploit identified at time of analysis' - there is no evidence of active exploitation or weaponization. The privileged-insider nature (a trusted-but-scoped delegated admin abusing mapper configuration) makes this a targeted/abuse-of-trust scenario rather than a mass-exploitable internet-facing bug, which is consistent with the sub-6 CVSS. One signal worth verifying: the real-world impact can exceed the C:H/S:U rating because the leaked upstream bearer tokens grant access to a SEPARATE external platform (the user's data on an external IdP), which is arguably a scope change (S:C) - the blast radius extends beyond Keycloak itself. Overall: a real, patch-worthy privilege-abuse/token-leak issue for anyone running Keycloak with federated external IdPs and delegated client administration, but lower operational urgency than a network-unauthenticated RCE. |
| Exploit ScenarioDerived | A delegated client administrator - trusted to manage one application but not fully trusted with the realm - configures a User Session Note protocol mapper on their client to request a session note that actually holds a federated access token from an external identity provider. When a targeted user logs in to that managed application, Keycloak mints a token containing the user's upstream bearer token, which the administrator then extracts and replays against the external platform to access the victim's data there. No public exploit code was identified in the provided data; exploitation requires the attacker to hold client-admin rights and a victim to authenticate (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Keycloak's User Session Note protocol mapper fails to screen session note keys for sensitive internal credentials, allowing an authenticated delegated client administrator to copy a victim's upstream federated access/bearer token into tokens issued to the application they manage (CVSS 3.1 5.7, AV:N/AC:L/PR:L/UI:R, C:H/I:N/A:N). Exploitation requires the attacker to hold scoped client-administration rights sufficient to configure protocol mappers, a realm federated with external identity providers that persist upstream tokens as user session notes, and the victim to actually authenticate to the attacker-controlled client, so impact is decisive only in federated-token deployments and default configurations without federated token storage are not exposed. Red Hat has published an advisory and Bugzilla record for the issue, but no public exploit code and no confirmed active exploitation were identified in the available intelligence at time of analysis.
RemediationAI
No vendor-released patch was identified in the supplied data at time of analysis, so treat this as a configuration-hardening problem while tracking the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-105302) and Bugzilla 2545800 for a fixed Keycloak build and apply it as soon as it is published. The most direct compensating control is to disable the store-tokens option on every external identity provider: this stops upstream access and refresh tokens from being written into user session notes so there is nothing sensitive for the mapper to copy, at the cost of breaking applications and flows that rely on retrieving or exchanging the upstream IdP token. In parallel, audit every client for User Session Note protocol mappers and remove any whose note key references federated or identity-provider token state, then constrain who can create mappers by removing or narrowing the realm-management manage-clients and manage-identity-providers roles from delegated administrators, accepting the operational overhead of a more centralised admin model and an approval step for mapper changes. Since a leaked bearer token is valid at the external provider until it expires or is revoked, treat any exposure as a credential compromise: revoke the affected user's upstream sessions/tokens at the identity provider, shorten upstream token lifetimes, and review IdP audit logs for anomalous API access on behalf of the victim.
Affected ProductsAI
The affected component is the Keycloak identity and access management server, specifically its User Session Note protocol mapper used in realms where clients are managed by delegated client administrators and where federated external identity providers persist upstream bearer tokens into session notes; this covers upstream Keycloak releases as well as Red Hat's supported Keycloak/RH-SSO distribution channel for which the advisory was filed. The supplied intelligence does not enumerate exact affected version ranges or CPE identifiers, so version mapping must be taken from the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-105302 and the associated Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2545800. Deployments that do not federate external identity providers, or that never store upstream tokens in the session, are effectively out of scope for the credential-leak path even though the mapper code is present.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak issues OIDC and SAML tokens whose claims are populated by configurable protocol mappers attached to clients, and one mapper type, User Session Note, copies an arbitrary named value out of the authentication/user session's note map into the token being minted. When Keycloak is federated with an external identity provider and the store-tokens option is enabled, the upstream access, refresh, and ID tokens returned by that IdP are retained in the session notes so they can later be retrieved (for example via token exchange or the retrieve-token endpoint). The flaw is that the User Session Note mapper does not validate or blocklist the requested note name, so a mapper configured with the internal key that holds a federated token will happily emit that credential as a normal claim. This is an information-disclosure defect in the CWE-200 class: the mapper violates the trust boundary between Keycloak's internal session state and the token surface exposed to a client administrator, turning a configuration privilege into a credential-read primitive. The CVSS vector confirms the network-reachable, high-confidentiality, no-integrity/no-availability profile, with PR:L reflecting the delegated administrative privilege and UI:R reflecting the need for a victim to complete a login against the attacker-controlled client.
Know when Keycloak gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Requires delegated client-admin rights (PR:L) and victim authentication (UI:R) over the network (AV:N); confidentiality-only (C:H, I/A:N), though S:C is arguable since leaked tokens reach an external platform.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at
An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne
Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit
Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10
A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in
A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t
A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c
A flaw was found in Keycloak before 13.0.0, where it is possible to force the server to call out an unverified URL using
EUVD-2026-92257
GHSA-3xph-hcf4-hx94
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB