CVE-2025-1391 MEDIUM

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

Vendor Red Hat
Product Red Hat Build of Keycloak
Weakness CWE-284
Published February 17, 2025
Last update May 6, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 17, 2025 CVE published
May 6, 2026 Record updated