Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-1391 EUVD-2025-4583GHSA-gvgg-2r3r-53x7GHSA-rq4w-cjrr-h8w8

Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims

Published Feb 17, 2025 · Updated Sep 21, 2026 · Assigned by redhat

Description

A flaw was found in the Keycloak organization feature, which allows the incorrect assignment of an organization to a user if their username or email matches the organization’s domain pattern. This issue occurs at the mapper level, leading to misrepresentation in tokens. If an application relies on these claims for authorization, it may incorrectly assume a user belongs to an organization they are not a member of, potentially granting unauthorized access or privileges.

Affected products

VendorProductAffectedFixed
— keycloak-services 26.0.0 – < 26.0.10 26.0.10
Red Hat Red Hat Build of Keycloak — —
Red Hat Red Hat build of Keycloak 26.0 — —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services >= 26.1.0, < 26.1.3 26.1.3 GHSA-gvgg-2r3r-53x7
Maven org.keycloak:keycloak-services < 26.0.10 26.0.10 GHSA-gvgg-2r3r-53x7

Advisories 1

References