A flaw was found in the User-Managed Access (UMA) implementation of Keycloak. The issue occurs in the authorization token endpoint when processing permission tickets. If two different users own resources with the same name, the system incorrectly merges the permissions from both resources when one user requests an authorization token. This allows an attacker to gain access scopes on a victim's resource that were never intended to be shared.
PUBLISHED5.2CWE-862
Keycloak-services: keycloak-services: uma scope merge across resource owners via resource name collision
Problem type
Affected products
Red Hat
Red Hat Build of Keycloak
Red Hat Build of Keycloak
Red Hat Build of Keycloak
Red Hat Single Sign-On 7
References
access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-94217
RHBZ#2537313
https://bugzilla.redhat.com/show_bug.cgi?id=2537313
GitHub Security Advisories
GHSA-2cpw-3v2x-mh42
A flaw was found in the User-Managed Access (UMA) implementation of Keycloak. The issue occurs in...
https://github.com/advisories/GHSA-2cpw-3v2x-mh42A flaw was found in the User-Managed Access (UMA) implementation of Keycloak. The issue occurs in the authorization token endpoint when processing permission tickets. If two different users own resources with the same name, the system incorrectly merges the permissions from both resources when one user requests an authorization token. This allows an attacker to gain access scopes on a victim's resource that were never intended to be shared.
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-94217Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-94217",
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"dateUpdated": "2026-09-24T13:20:28.952Z",
"dateReserved": "2026-09-21T05:57:24.902Z",
"datePublished": "2026-09-21T06:45:27.795Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat",
"dateUpdated": "2026-09-21T06:45:27.795Z"
},
"datePublic": "2026-09-19T23:39:17.000Z",
"title": "Keycloak-services: keycloak-services: uma scope merge across resource owners via resource name collision",
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in the User-Managed Access (UMA) implementation of Keycloak. The issue occurs in the authorization token endpoint when processing permission tickets. If two different users own resources with the same name, the system incorrectly merges the permissions from both resources when one user requests an authorization token. This allows an attacker to gain access scopes on a victim's resource that were never intended to be shared."
}
],
"affected": [
{
"vendor": "Red Hat",
"product": "Red Hat Build of Keycloak",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"packageName": "keycloak/rhbk-openshift-rhel9",
"cpes": [
"cpe:/a:redhat:build_keycloak:"
],
"defaultStatus": "affected"
},
{
"vendor": "Red Hat",
"product": "Red Hat Build of Keycloak",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"packageName": "keycloak-services",
"cpes": [
"cpe:/a:redhat:build_keycloak:"
],
"defaultStatus": "affected"
},
{
"vendor": "Red Hat",
"product": "Red Hat Build of Keycloak",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"packageName": "rhbk/keycloak-rhel9",
"cpes": [
"cpe:/a:redhat:build_keycloak:"
],
"defaultStatus": "affected"
},
{
"vendor": "Red Hat",
"product": "Red Hat Single Sign-On 7",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"packageName": "keycloak-services",
"cpes": [
"cpe:/a:redhat:red_hat_single_sign_on:7"
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Missing Authorization",
"cweId": "CWE-862",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://access.redhat.com/security/cve/CVE-2026-94217",
"tags": [
"vdb-entry",
"x_refsource_REDHAT"
]
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2537313",
"name": "RHBZ#2537313",
"tags": [
"issue-tracking",
"x_refsource_REDHAT"
]
}
],
"metrics": [
{},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 3.5,
"baseSeverity": "LOW"
}
}
],
"workarounds": [
{
"lang": "en",
"value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability."
}
],
"timeline": [
{
"time": "2026-09-19T23:39:17.000Z",
"lang": "en",
"value": "Reported to Red Hat."
},
{
"time": "2026-09-19T23:39:17.000Z",
"lang": "en",
"value": "Made public."
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-24T13:20:28.952Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}