Skip to main content

Keycloak CVE-2026-96460

| EUVDEUVD-2026-117920 MEDIUM
Incorrect Implementation of Authentication Algorithm (CWE-303)
2026-11-06 secalert@redhat.com GHSA-pfrc-rpch-683c
5.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated requester client credentials
  2. Delivery
    Invoke Standard Token Exchange V2
  3. Exploit
    Receive token with fresh (reset) lifetime
  4. Execution
    Repeatedly re-exchange before expiry
  5. Impact
    Retain service-account access despite admin disablement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication algorithm review
Exploitation Conditions

Exploitation requires that Standard Token Exchange V2 is in use and that the attacker controls an authenticated requester client that is permitted to perform token exchange (reflected by PR:L). The abuse works because exchanged tokens receive a fresh lifetime derived from the requester client's configuration instead of being capped at the original token's expiration. Limiting factors: the attacker must already hold valid client authentication, token exchange must be configured/enabled, and the impact is bounded to prolonging service-account access rather than gaining new privileges - but it specifically defeats administrative disablement of the original client as a revocation control.

Impact

This is a medium-severity authorization/session-management weakness (CVSS 5.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N), not a critical break. The CVSS vector signals network reach with low attack complexity but requires low-level privileges (PR:L), meaning the attacker must already be an authenticated requester client permitted to perform token exchange - this is the dominant limiting factor. No EPSS score, CISA KEV entry, or PoC/exploit reference is present in the supplied data, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today Decision label is 'this_month', consistent with a real-but-not-emergency fix priority rather than act_now/emergency. The practical risk is privilege/access persistence: a requester who already holds valid credentials can keep a service account alive past intended expiry and past administrative disablement, undermining an administrator's ability to revoke access - a meaningful containment/incident-response gap rather than a mass-exploitable remote takeover. Note a data conflict: the input Tags include 'Information Disclosure' and 'Microsoft', but the described flaw is improper access persistence in Keycloak (a Red Hat/open-source project), so those tags are unreliable - see data_quality_flags.

Exploit ScenarioDerived

An attacker who controls an authenticated requester client (or compromises its credentials) uses Standard Token Exchange V2 to swap a token for a new one that is issued with a fresh lifetime from the requester client's configuration rather than inheriting the original token's expiry. By repeating the exchange, the attacker continually refreshes a service account's access, retaining it even after an administrator disables the originating client. No public exploit code is identified in the available sources.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Keycloak's Standard Token Exchange V2 can issue exchanged tokens with a fresh lifetime derived from the requester client's configuration rather than capping them at the original token's expiration. An authenticated requester client permitted to perform token exchange can therefore repeatedly extend service-account access, including after an administrator disables the original client. The issue is medium severity (CVSS 5.4) and no public exploit was identified at time of analysis.

RemediationAI

The provided data does not specify a fixed Keycloak version. Apply the vendor update referenced in the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-96460) and Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2539301) once available. Until then, the direct compensating control is to disable Standard Token Exchange V2 or restrict token-exchange permission to tightly trusted requester clients, and to keep requester client token lifetimes short; disabling the feature will break legitimate token-exchange integrations, and restricting clients may disrupt authorized service-account workflows. Also revoke and rotate service-account credentials for clients whose disablement was relied on for revocation, and review token-exchange events for repeated exchanges by the same requester.

Affected VersionsENISA

Red Hat build of Keycloak 26.6 patch: 26.6-24
Red Hat build of Keycloak 26.6 patch: 26.6.8-2

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 implements OAuth 2.0 token exchange, and Standard Token Exchange V2 computes the lifetime of newly issued tokens. The flaw is CWE-303 (Incorrect Implementation of Authentication Algorithm): the exchange path fails to constrain the new token's expiry to the subject token's original expiration and instead applies the requester client's configured lifetime. This turns token exchange into a renewal primitive for service accounts: a requester with valid client authentication and token-exchange permission can chain exchanges to keep access alive. The behavior specifically undermines administrative disablement of the original client as a revocation mechanism, though it does not by itself grant new privileges.

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

Vendor (redhat) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Token exchange is performed over the network (AV:N/AC:L) by an already-authenticated requester client (PR:L), with limited confidentiality/integrity impact from extended access and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

A flaw was found in the token exchange mechanism of Keycloak. When using Standard Token Exchange V2, the system issues new tokens with a fresh lifetime based on the requester clients configuration instead of limiting it to the original tokens expiration. This issue allows an authenticated requester to indefinitely extend access for service accounts by repeatedly exchanging tokens, even if the original client has been disabled by an administrator.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely-deployed open-source identity and access management server
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2014-3709 HIGH POC
8.8 Oct 18

The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2023-6563 HIGH POC
7.7 Dec 14

An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne

CVE-2022-1466 MEDIUM POC
6.5 Apr 26

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be

CVE-2017-7474 CRITICAL
9.8 May 12

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2022-1245 CRITICAL
9.8 Jul 08

A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi

CVE-2019-14910 CRITICAL
9.8 Dec 05

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in

CVE-2021-20195 CRITICAL
9.6 May 28

A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote

CVE-2023-6134 MEDIUM POC
5.4 Dec 14

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t

CVE-2022-0225 MEDIUM POC
5.4 Aug 26

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy