Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-server-spi-private
  4. ›
  5. CVE-2026-9791

CVE-2026-9791: Keycloak Vulnerable to Incorrect Authorization

May 28, 2026 (updated July 1, 2026)

A flaw was found in Keycloak. An authenticated user with existing organization membership can exploit this flaw by accessing user-facing APIs, such as the account API or by requesting an OpenID Connect (OIDC) token with the ‘organization’ scope. This allows organization metadata to be disclosed in tokens, even after an administrator has explicitly disabled the Organizations feature, potentially leading to incorrect authorization decisions by resource servers.

References

  • access.redhat.com/errata/RHSA-2026:25097
  • access.redhat.com/errata/RHSA-2026:25098
  • access.redhat.com/errata/RHSA-2026:30049
  • access.redhat.com/errata/RHSA-2026:30050
  • access.redhat.com/security/cve/CVE-2026-9791
  • bugzilla.redhat.com/show_bug.cgi?id=2482458
  • github.com/advisories/GHSA-4q93-v92x-p89f
  • github.com/keycloak/keycloak/commit/0e706e7c83d1e971b48656ad9e674eec6adc225b
  • github.com/keycloak/keycloak/commit/a77c60f2f3e0793046add44120579871e92553df
  • github.com/keycloak/keycloak/commit/f19e1f2b4e998116d4e321f50ecf99c0f87b862f
  • github.com/keycloak/keycloak/issues/49431
  • github.com/keycloak/keycloak/pull/49541
  • github.com/keycloak/keycloak/pull/49678
  • github.com/keycloak/keycloak/pull/49680
  • nvd.nist.gov/vuln/detail/CVE-2026-9791

Code Behaviors & Features

Detect and mitigate CVE-2026-9791 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 26.4.7, all versions starting from 26.5.0 before 26.6.3

Fixed versions

  • 26.6.3

Solution

Upgrade to version 26.6.3 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

maven/org.keycloak/keycloak-server-spi-private/CVE-2026-9791.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 12 Jul 2026 12:16:43 +0000.