Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-14559: CWE-840 in Red Hat Red Hat Build of Keycloak

0
Medium
VulnerabilityCVE-2025-14559cvecve-2025-14559cwe-840
Published: Wed Jan 21 2026 (01/21/2026, 06:13:31 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Build of Keycloak

Description

A flaw was found in the keycloak-services component of Keycloak. This vulnerability allows the issuance of access and refresh tokens for disabled users, leading to unauthorized use of previously revoked privileges, via a business logic vulnerability in the Token Exchange implementation when a privileged client invokes the token exchange flow.

AI-Powered Analysis

AILast updated: 01/21/2026, 06:35:17 UTC

Technical Analysis

CVE-2025-14559 is a vulnerability classified under CWE-840 (Business Logic Errors) found in the keycloak-services component of the Red Hat Build of Keycloak. The flaw arises in the token exchange flow, a feature that allows a privileged client to exchange tokens on behalf of a user. Due to improper handling of user status, the system permits issuance of new access and refresh tokens for users who have been disabled, effectively circumventing the revocation of their privileges. This means that even after a user is disabled—typically to prevent further access—an attacker controlling a privileged client can still obtain valid tokens and maintain unauthorized access. The vulnerability requires a privileged client to invoke the token exchange flow, does not require user interaction, and can be exploited remotely over the network. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N) indicates network attack vector, low attack complexity, high privileges required, no user interaction, unchanged scope, and high impact on confidentiality and integrity but no impact on availability. No patches or public exploits have been reported yet, but the flaw represents a significant risk to identity and access management security in affected environments.

Potential Impact

For European organizations, this vulnerability poses a significant risk to the security of identity and access management systems that rely on the Red Hat Build of Keycloak. Unauthorized issuance of tokens for disabled users can lead to privilege escalation, unauthorized data access, and potential lateral movement within networks. Confidentiality and integrity of sensitive information are at risk, especially in sectors with strict compliance requirements such as finance, healthcare, and government. Since Keycloak is widely used in enterprise environments across Europe for single sign-on and identity federation, exploitation could undermine trust in authentication mechanisms and lead to data breaches or regulatory penalties under GDPR. The lack of impact on availability reduces the chance of immediate detection, allowing attackers to maintain stealthy persistent access.

Mitigation Recommendations

Organizations should monitor Red Hat and Keycloak advisories closely and apply security patches as soon as they become available. In the interim, review and restrict the privileges of clients authorized to perform token exchange operations, ensuring only fully trusted clients have such capabilities. Implement strict monitoring and logging of token exchange requests to detect anomalous activity, particularly attempts to exchange tokens for disabled users. Consider implementing additional access control checks or custom policies within Keycloak to verify user status before token issuance. Regularly audit user account statuses and revoke or rotate tokens for disabled users proactively. Employ network segmentation and least privilege principles to limit the impact of compromised privileged clients. Finally, conduct penetration testing focused on token exchange flows to identify potential exploitation paths.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2025-12-12T05:37:44.269Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 697070494623b1157cabd775

Added to database: 1/21/2026, 6:20:57 AM

Last enriched: 1/21/2026, 6:35:17 AM

Last updated: 1/21/2026, 7:26:25 PM

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats