Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with valid Keycloak realm account
-
DeliveryIdentify time-restricted resource via Authorization Services discovery
-
ExploitCraft UMA/OAuth authorization request with forged timestamp in permitted window
-
InstallSubmit request to Keycloak Authorization Services endpoint
-
C2Authorization engine evaluates forged time against time policy
-
ExecuteReceive valid permission grant or token
-
ImpactAccess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
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
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.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allVendor StatusVendor
Debian
Bug #1088287| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| open | - | - |
EUVD-2026-51926
GHSA-mcjq-c4g7-wcfh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB