Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass

Summary

CVECVE-2026-9799
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 17:17:04 UTC
Updated2026-07-01 18:37:39 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.6 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

EPSS: 0.001750000 probability, percentile 0.072270000 (date 2026-06-29)

Problem Types: CWE-639 | CWE-639 Authorization Bypass Through User-Controlled Key


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.6MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
3.1CNACVSS4.6MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

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

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Build Of Keycloak All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4.13-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4-19 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4 unaffected 26.4-19 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.4.13 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6.4-2 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6-8 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6 unaffected 26.6-8 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.6.4 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:30083 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:30084 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:30049 [email protected] access.redhat.com Vendor Advisory
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Vendor Advisory
access.redhat.com/security/cve/CVE-2026-9799 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:30050 [email protected] access.redhat.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Omaroo Baniessa for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-05-28T03:53:15.687ZReported to Red Hat.
CNA2026-05-19T12:34:00.000ZMade public.

Workarounds

CNA: 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report