Medium [CVE-2025-1391] Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims
This medium-severity Red Hat Linux advisory covers CVE-2025-1391 affecting Red Hat build of Keycloak 26.0.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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. Red Hat severity: Moderate — CVSS 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).
Weakness: CWE-284. Affected Red Hat products: Red Hat Build of Keycloak; Red Hat build of Keycloak 26.0.
Red Hat fixing advisory: RHSA-2025:2545, RHSA-2025:2544.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 23 days ago·verify at source
- keycloak-services
- rhbk/keycloak-operator-bundle:26.0.10-3
- rhbk/keycloak-rhel9:26.0-11
- rhbk/keycloak-rhel9-operator:26.0-12
- RHSA-2025:2545
- RHSA-2025:2544
Official advisory · high-confidence parse· fetched 23 days ago·verify at source
Mitigation
Upgrade to a fixed release: keycloak-services, rhbk/keycloak-operator-bundle:26.0.10-3, rhbk/keycloak-rhel9:26.0-11, rhbk/keycloak-rhel9-operator:26.0-12, RHSA-2025:2545, RHSA-2025:2544. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 23 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.