{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-9792",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2026-05-28T03:09:25.012Z",
        "datePublished": "2026-05-28T03:44:18.671Z",
        "dateUpdated": "2026-06-26T06:46:34.782Z"
    },
    "containers": {
        "cna": {
            "title": "Keycloak: keycloak: security restriction bypass allows unauthorized ropc token acquisition",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Moderate",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was found in Keycloak's Client Policies, specifically within the `org.keycloak.protocol.oidc` component. When certain condition providers (client-type, client-roles, client-attributes, client-scopes) are used to enforce security restrictions, the `reject-ropc-grant` executor is silently bypassed. This allows an unauthenticated remote attacker to obtain tokens via a Resource Owner Password Credentials (ROPC) grant, even when a policy is explicitly configured to block it. This bypass can lead to unauthorized access and information disclosure."
                }
            ],
            "affected": [
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.4",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.4.13-1",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.4",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.4-19",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.4",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.4-19",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.4.13",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "packageName": "rhbk/keycloak-rhel9",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.4::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.6",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.6.3-3",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.6",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.6-6",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.6",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.6-6",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.6::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.6.3",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "packageName": "rhbk/keycloak-rhel9",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.6::el9"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:25097",
                    "name": "RHSA-2026:25097",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:25098",
                    "name": "RHSA-2026:25098",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:30049",
                    "name": "RHSA-2026:30049",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2026:30050",
                    "name": "RHSA-2026:30050",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2026-9792",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2482459",
                    "name": "RHBZ#2482459",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2026-05-28T03:10:21.828Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-280",
                            "description": "Improper Handling of Insufficient Permissions or Privileges",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-280: Improper Handling of Insufficient Permissions or Privileges",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "To mitigate this issue, Keycloak administrators should review and adjust client policies designed to reject Resource Owner Password Credentials (ROPC) grants. Avoid using the `client-type`, `client-roles`, `client-attributes`, or `client-scopes` condition providers in conjunction with the `reject-ropc-grant` executor. Instead, configure policies to use the `grant-type` condition provider for ROPC rejection. A restart or reload of the Keycloak service may be required for these policy changes to take full effect."
                }
            ],
            "timeline": [
                {
                    "lang": "en",
                    "time": "2026-05-28T03:09:09.710Z",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2026-05-28T03:10:21.828Z",
                    "value": "Made public."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Red Hat would like to thank Evan Hendra (Independent Security Researcher) for reporting this issue."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2026-06-26T06:46:34.782Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-05-29T18:32:16.047044Z",
                                "id": "CVE-2026-9792",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-05-29T18:32:37.326Z"
                }
            }
        ]
    }
}