Skip to main content

Keycloak EUVDEUVD-2026-130828

| CVE-2026-133537 MEDIUM
Permissive Regular Expression (CWE-625)
2026-11-20 redhat GHSA-86fr-cm33-7mpg
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Keycloak-protected app
  2. Delivery
    Identify permissive wildcard-extension permission
  3. Exploit
    Request restricted resource sharing that extension
  4. Execution
    Suffix-only path match bypasses prefix check
  5. Impact
    Access 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.

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

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

Alert me

AnalysisAIv1 – 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

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

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.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely-deployed enterprise IAM/SSO platform across many organizations
Data Quality
5 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.3%
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
Medium
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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_single_sign-on_7:*:*:*:*:*:*:*:*
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

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