Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Keycloak-protected app
-
DeliveryIdentify permissive wildcard-extension permission
-
ExploitRequest restricted resource sharing that extension
-
ExecutionSuffix-only path match bypasses prefix check
-
ImpactAccess protected data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Permissive regular expression
|
| Exploitation Conditions | Exploitation requires (1) a valid authenticated session, since the CVSS vector specifies PR:L, and (2) a Keycloak Authorization Services policy configuration in which a protected resource path and a more permissive resource are matched using wildcard file-extension patterns, so that a restricted resource shares a file extension with a permissive one. The flaw triggers because path matching evaluates only the file-extension suffix and ignores the configured path prefix. Limiting factors: it is not exploitable against default configurations with no such overlapping extension-based permissions, it needs prior authentication (not anonymous), and the high attack complexity (AC:H) reflects the need for a real path-prefix/extension collision in the target's permission model; no user interaction is required (UI:N). |
| Impact | This is a moderate-priority authorization bypass (CVSS 6.8) in Keycloak / Red Hat Single Sign-On Authorization Services, and the signals point to a real but conditional risk rather than an urgent emergency. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N indicates a network-reachable flaw requiring an already-authenticated principal (PR:L) and carrying high attack complexity (AC:H), which here reflects the dependency on a specific policy configuration where a restricted resource shares a file extension with a more permissive one. Red Hat's own priority label is 'this_month' (not act_now/emergency), consistent with a flaw that is serious for affected deployments but not under active mass exploitation. No CISA KEV listing and no EPSS score were provided, so exploitation-in-the-wild cannot be claimed; the references are a Red Hat advisory and a Bugzilla entry, not working exploit code. The main caveat: EPSS and SSVC/automatable signals are absent from the input, so the probability and automatability of exploitation cannot be quantified - the AC:H rating signals that exploitation depends on an attacker finding a real path-prefix/extension collision in a target's permission model, which limits opportunistic use. |
| Exploit ScenarioDerived | An authenticated user of a Keycloak-protected application identifies a protected resource whose path shares a file extension with a resource governed by a more permissive wildcard-extension permission. By requesting the restricted path, the attacker causes Authorization Services to match on the file-extension suffix while ignoring the configured path prefix, granting access it should have denied. No public exploit code or PoC was identified; exploitation requires valid credentials and a vulnerable permission configuration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
An authorization bypass in Red Hat Build of Keycloak and Red Hat Single Sign-On 7 Authorization Services lets an authenticated user reach resources that policy should have denied: when permission evaluation encounters a wildcard file-extension pattern, it compares only the suffix and disregards the configured path prefix, so a restricted path that happens to share an extension with a permissive one is authorized. Exploitation requires a valid session (CVSS PR:L) and a policy set in which such an extension collision actually exists, which is reflected in the high attack complexity (AC:H) and yields high confidentiality and integrity impact (CVSS 6.8, CWE-625). The issue is conditional rather than universal - deployments without overlapping extension-based permissions are not exposed - and at time of analysis no public exploit identified at time of analysis and no CISA KEV entry exists for this CVE.
RemediationAI
No vendor-released patch identified at time of analysis: the supplied references (the Red Hat CVE page at https://access.redhat.com/security/cve/CVE-2026-133537 and Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2577542) are the authoritative source for fixed builds, and no exact fix version is given in the available data, so check those records before planning upgrades. Until a fixed build is available, the effective compensating control is configuration-level: audit every Authorization Services resource and permission that uses wildcard file-extension patterns (for example /*.pdf or *.ext) and replace suffix-only patterns with explicit full path prefixes so that no permissive resource shares an extension with a restricted one - the trade-off is that policies become more verbose and must be re-validated, since legitimate clients relying on the broad pattern may start receiving 403 responses. Where such extension wildcards cannot be removed immediately, split the affected extensions into separate, non-overlapping resource definitions or tighten the permissive permissions to specific roles, accepting the added administrative overhead and the risk of an unnoticed residual collision. Given that exploitation requires a valid authenticated session (PR:L), limiting the accounts that can reach the affected resource server and reviewing access logs for requests to restricted paths whose extension matches a permissive policy reduce exposure, but these are detection and containment measures only and do not correct the underlying matching defect; no other workaround is described in the supplied sources.
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 Authorization Services is the policy decision layer of the product (policy enforcement points, resource definitions, scopes and typed resource permissions, also used in UMA flows): each incoming request is mapped to a protected resource, and that mapping is performed by matching the request path against the paths configured on resource definitions, which may include wildcard patterns such as /*.pdf or *.docx. The weakness class is CWE-625 (Permissive Regular Expression): the matcher builds/uses an over-permissive pattern, and in this case the wildcard-extension evaluation collapses to a suffix comparison that never verifies the configured path prefix. Consequently a request to a restricted subtree whose file extension coincides with that of a permissive resource satisfies the permissive permission instead of the restrictive one. The affected code paths are the Authorization Services path/resource matching routines in Red Hat Build of Keycloak (CPE cpe:2.3:a:red_hat:red_hat_build_of_keycloak) and Red Hat Single Sign-On 7 (CPE cpe:2.3:a:red_hat:red_hat_single_sign-on_7); the supplied CPE entries carry unversioned wildcards, so the precise fixed/affected version boundaries are not confirmed from the available data. Per the assessed vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N), the attacker is remote and authenticated and no user interaction is involved, while the AC:H reflects that a genuine prefix/extension collision must exist in the target's permission model; the trigger for individual deployments is not described in the available sources beyond that configuration precondition.
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:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable authorization endpoint (AV:N) usable only by an authenticated user (PR:L) against a specific wildcard-extension permission overlap (AC:H); bypass exposes and may alter protected data (C:H/I:H), no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Keycloak. When evaluating access permissions, Keycloak Authorization Services improperly matches resource paths containing wildcard file extensions by evaluating only the file extension suffix and ignoring configured path prefixes. An authenticated remote attacker could exploit this vulnerability by requesting a restricted resource that shares a file extension with a more permissive resource, leading to an authorization bypass and unintended access to protected data.
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
Related Vulnerabilities in Keycloak Authorization and Token Enforcement Flaws
View all 6More 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
EUVD-2026-130828
GHSA-86fr-cm33-7mpg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB