Skip to main content
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate with valid Keycloak realm account
  2. Delivery
    Identify time-restricted resource via Authorization Services discovery
  3. Exploit
    Craft UMA/OAuth authorization request with forged timestamp in permitted window
  4. Install
    Submit request to Keycloak Authorization Services endpoint
  5. C2
    Authorization engine evaluates forged time against time policy
  6. Execute
    Receive valid permission grant or token
  7. Impact
    Access time-restricted resource outside permitted hours

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid authenticated Keycloak user account in the target realm (CVSS PR:L confirms authentication is required - unauthenticated external attackers cannot exploit this). The target Keycloak deployment must have Authorization Services configured with at least one active time-based policy - environments that do not use this specific Keycloak feature are entirely unaffected regardless of version. The attack is performed over the network (AV:N) with no special tooling or timing conditions required beyond the ability to craft an authorization request with a modified time parameter (AC:L). There is no required victim interaction. Limiting factors: valid realm account is mandatory; time-based policies must be actively enforced on target resources; no confidentiality or availability impact limits the blast radius to authorization integrity only; S:U means exploitation does not escalate to affect systems outside the Keycloak authorization boundary.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N (score 6.5, Medium) is well-calibrated: network-accessible, low complexity, no user interaction, but requiring a valid low-privileged account (PR:L), which is the principal limiting factor. The High integrity impact reflects complete bypass of time-based policy enforcement. Real-world risk is directly proportional to how heavily a given deployment relies on time-based authorization policies as a security control - environments that do not configure Keycloak Authorization Services with time policies face no exposure. EPSS data was not provided, and this CVE is absent from CISA KEV, suggesting no confirmed active exploitation. No public proof-of-concept code has been identified. The Medium CVSS score is appropriate: this is not a trivial finding for regulated environments where time-restricted access controls satisfy compliance requirements (e.g., restricting privileged actions to monitored business hours), but its impact is bounded by the specific deployment configuration.

Exploit ScenarioDerived

An authenticated Keycloak user with a low-privileged account constructs an authorization request targeting a time-restricted resource and embeds a forged timestamp set to a value within the policy-allowed window (e.g., 10:00 AM on a weekday), submitting it at 2:00 AM on a weekend. Keycloak's authorization engine evaluates the time-based policy against the attacker-controlled timestamp rather than the server clock, grants the permission, and issues a valid token. The attacker then accesses the protected resource, fully bypassing the intended time-based access restriction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 02, 2026

Time-based authorization policy bypass in Red Hat Build of Keycloak permits any low-privileged authenticated user to inject a fabricated timestamp into their authorization request, causing Keycloak's Authorization Services engine to evaluate the forged value instead of the actual server clock. This fully defeats time-based access controls - such as business-hours restrictions - across affected Red Hat products including Keycloak, Single Sign-On 7, Data Grid 8, and JBoss EAP Expansion Pack. No public exploit code has been identified and this CVE is not listed in CISA KEV, but the CVSS High integrity impact accurately reflects that time-gated authorization controls are rendered entirely ineffective against any valid account holder.

RemediationAI

Consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-18572 for patched package versions and apply updates to Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and Red Hat JBoss EAP Expansion Pack as available - exact patched version numbers were not confirmed from available data, so treat vendor advisory as the authoritative source. Where immediate patching is not possible, the most effective compensating control is to supplement or replace Keycloak time-based policies with network-layer or reverse-proxy time restrictions (e.g., firewall rules or WAF policies blocking requests to time-restricted endpoints outside permitted hours), since these cannot be overridden by client-supplied parameters - note this may require infrastructure changes with operational overhead. Alternatively, administrators may remove time-based policies and implement equivalent controls at the application layer, though this eliminates the Keycloak-native enforcement entirely. Deploy monitoring on Keycloak authorization audit logs to detect off-hours access to time-gated resources as a detection measure.

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 is an open-source Identity and Access Management platform supporting OAuth 2.0, OpenID Connect, and User-Managed Access (UMA). Its Authorization Services module allows administrators to define fine-grained resource permissions, including time-based policies that restrict access to defined windows (e.g., 09:00-17:00 on weekdays). The root cause is CWE-863 (Incorrect Authorization): the authorization evaluation path trusts a time parameter supplied by the requesting client rather than exclusively relying on the server's authoritative clock, violating the principle that security-sensitive policy inputs must come from trusted sources only. Affected CPEs include cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack, all with wildcard versioning indicating broad version coverage.

Know when Red Hat Build Of 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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 6.5 MEDIUM

AV:N (authorization request sent over network), PR:L (valid realm account required), I:H (time-based authorization controls fully bypassed), C:N and A:N confirmed by no data exposure or service disruption.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

Keycloak provides authorization services that allow administrators to restrict access to resources based on time policies (for example, only allowing access during business hours). A flaw was discovered where a user can include a fake time value in their authorization request that overrides the actual server time. This allows the user to bypass these time-based restrictions and access protected resources at unauthorized times.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
widely deployed enterprise IAM and SSO platform across Red Hat ecosystems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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 No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

Debian

Bug #1088287
keycloak
Release Status Fixed Version Urgency
open - -

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