Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass
Published Jun 25, 2026
4.6
MEDIUMCVSS 3.1
EPSS 0.29%
Description
A flaw was found in org.keycloak.authorization. An authenticated user with a granted User-Managed Access (UMA) permission ticket for one resource can exploit this by using a specific permission request prefix to bypass per-resource access control. This allows the user to gain unauthorized access to all resources of that type within the same resource server, even if they do not have a ticket for those specific resources. This vulnerability requires the resource server to be configured in PERMISSIVE policy enforcement mode and affects typed resources with ownerManagedAccess enabled, where no explicit policy protects the resource type. The primary consequence is unauthorized information disclosure or modification of resources.
Affected products
No data.
- ≥ 26.4 · < 26.4.13
- ≥ 26.6 · < 26.6.4
No data.
Red Hat build of Keycloak 26.4
rhbk/keycloak-operator-bundle:26.4.13-1
Fixed · RHSA-2026:30050
Red Hat build of Keycloak 26.4
rhbk/keycloak-rhel9-operator:26.4-19
Fixed · RHSA-2026:30050
Red Hat build of Keycloak 26.4
rhbk/keycloak-rhel9:26.4-19
Fixed · RHSA-2026:30050
Red Hat build of Keycloak 26.4.13
rhbk/keycloak-rhel9
Fixed · RHSA-2026:30049
Red Hat build of Keycloak 26.6
rhbk/keycloak-operator-bundle:26.6.4-2
Fixed · RHSA-2026:30084
Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9-operator:26.6-8
Fixed · RHSA-2026:30084
Red Hat build of Keycloak 26.6
rhbk/keycloak-rhel9:26.6-8
Fixed · RHSA-2026:30084
Red Hat build of Keycloak 26.6.4
rhbk/keycloak-rhel9
Fixed · RHSA-2026:30083
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-operator-bundle:26.4.13-1 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9-operator:26.4-19 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4 | rhbk/keycloak-rhel9:26.4-19 | Fixed | RHSA-2026:30050 |
| Red Hat build of Keycloak 26.4.13 | rhbk/keycloak-rhel9 | Fixed | RHSA-2026:30049 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-operator-bundle:26.6.4-2 | Fixed | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9-operator:26.6-8 | Fixed | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6 | rhbk/keycloak-rhel9:26.6-8 | Fixed | RHSA-2026:30084 |
| Red Hat build of Keycloak 26.6.4 | rhbk/keycloak-rhel9 | Fixed | RHSA-2026:30083 |
No package ranges for this CVE.
Remediation
Vendor solution
To mitigate this issue, ensure that the Keycloak client's policy enforcement mode is set to ENFORCING instead of PERMISSIVE. The PERMISSIVE mode is a non-default configuration that enables the vulnerability. Changing this setting will prevent the unauthorized access to resources of the same type. Consult Keycloak documentation for specific instructions on configuring policy enforcement mode for your client. This change may require a restart or reload of the Keycloak service to take effect and could impact existing authorization policies if not carefully managed.
Red Hat statement
A Medium severity flaw exists in Keycloak's authorization component where a user with a UMA permission ticket for a specific resource type can gain unauthorized access to all resources of that type. This bypass occurs when the resource server is configured with the non-default PERMISSIVE policy enforcement mode, has ownerManagedAccess enabled for typed resources, and lacks a covering policy for the resource type. Exploitation requires an authenticated user with an existing permission ticket, limiting its impact to specific, non-default Keycloak deployments.
Red Hat mitigation
To mitigate this issue, ensure that the Keycloak client's policy enforcement mode is set to ENFORCING instead of PERMISSIVE. The PERMISSIVE mode is a non-default configuration that enables the vulnerability. Changing this setting will prevent the unauthorized access to resources of the same type. Consult Keycloak documentation for specific instructions on configuring policy enforcement mode for your client. This change may require a restart or reload of the Keycloak service to take effect and could impact existing authorization policies if not carefully managed.
References (9)
- https://access.redhat.com/errata/RHSA-2026:30049 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2026:30050 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2026:30083 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/errata/RHSA-2026:30084 vendor-advisoryx_refsource_REDHATVendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-9799 vdb-entryx_refsource_REDHATVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482471 issue-trackingx_refsource_REDHATVendor AdvisoryIssue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39475 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-9799
- https://www.cve.org/CVERecord?id=CVE-2026-9799
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:30049 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2026:30050 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2026:30083 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/errata/RHSA-2026:30084 | vendor-advisoryx_refsource_REDHATVendor Advisory | |
| https://access.redhat.com/security/cve/CVE-2026-9799 | vdb-entryx_refsource_REDHATVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2482471 | issue-trackingx_refsource_REDHATVendor AdvisoryIssue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39475 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-9799 | ||
| https://www.cve.org/CVERecord?id=CVE-2026-9799 |
Change history (0)
No recorded changes yet.