GHSA-79qw-g39g-mfxc
Duplicate Advisory: Keycloak vulnerable to authorization bypass via incorrect uri comparison
- Severity
- 8.1 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- —
- No score published
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-1025 Comparison Using Wrong Factors
- Fix
- Available
- 2 packages have a fixed version
Description
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-f5p5-6xmx-p252. This link is maintained to preserve external references.
Original Description
A flaw was found in Keycloak Policy Enforcer. This vulnerability allows any authenticated user to bypass all authorization policies, including role, scope, and User-Managed Access (UMA) permission checks. By including the configured access-denied page path within a request URL, either as a path segment or a query parameter, an attacker can gain unauthorized access to protected resources.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.keycloak:keycloak-policy-enforcer | < 26.0.10 |
26.0.10 |
| org.keycloak:keycloak-policy-enforcer | all versions |
No fix yet |
| org.keycloak:keycloak-services | < 26.6.4 |
26.6.4 |
| org.keycloak:keycloak-services | all versions |
No fix yet |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.keycloak:keycloak-policy-enforcer Maven → 26.0.10
- maven
<dependency><groupId>org.keycloak</groupId><artifactId>keycloak-policy-enforcer</artifactId><version>26.0.10</version></dependency>- gradle
implementation("org.keycloak:keycloak-policy-enforcer:26.0.10")
org.keycloak:keycloak-services Maven → 26.6.4
- maven
<dependency><groupId>org.keycloak</groupId><artifactId>keycloak-services</artifactId><version>26.6.4</version></dependency>- gradle
implementation("org.keycloak:keycloak-services:26.6.4")
Severity breakdown
CVSS 3.1 8.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Weakness
CWE-1025: Comparison Using Wrong Factors
The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities, which can lead to incorrect results and resultant weaknesses.
References
Advisories
Other links
- access.redhat.com/security/cve/CVE-2026-9800
- bugzilla.redhat.com/show_bug.cgi
- access.redhat.com/errata/RHSA-2026:30083
- access.redhat.com/errata/RHSA-2026:30084
- access.redhat.com/errata/RHSA-2026:30049
- access.redhat.com/errata/RHSA-2026:30050
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9800.json
- access.redhat.com/errata/RHSA-2026:50846
- access.redhat.com/errata/RHSA-2026:50847
- access.redhat.com/errata/RHSA-2026:36002
- access.redhat.com/errata/RHSA-2026:36013
Timeline
- Published
- Withdrawn
- Last updated by the source
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-v3f7-2p4r-mwfw Keycloak vulnerable to cross-site scripting (xss) via case-insensitive uri validation bypass | High | Also affects org.keycloak:keycloak-services |
| GHSA-9jrw-8xf7-xqhq Keycloak vulnerable to information disclosure through arbitrary filesystem path probing | Medium | Also affects org.keycloak:keycloak-services |
| GHSA-w3p3-7cjg-vgfw Keycloak allows unauthorized access to resources via uma permission ticket bypass | Medium | Also affects org.keycloak:keycloak-services |
| GHSA-f5p5-6xmx-p252 Keycloak vulnerable to authorization bypass via incorrect uri comparison | High | Also affects org.keycloak:keycloak-policy-enforcer |
| GHSA-r7rc-c989-86g6 Keycloak: Attacker can re-enable and take over disabled clients via registration access token | Medium | Also affects org.keycloak:keycloak-services |
| GHSA-4gv3-mc9p-5wqc Keycloak: Unauthenticated account takeover via reset-credentials flow bypass | Critical | Also affects org.keycloak:keycloak-services |
| GHSA-6g26-7cx5-mrrg Keycloak: Information disclosure due to user profile permission bypass | Low | Also affects org.keycloak:keycloak-services |
| GHSA-cpf7-j4cf-vqx4 Keycloak has an Out-of-bounds Read | Medium | Also affects org.keycloak:keycloak-services |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor