CVEvulnerability
CVE-2025-1391
5.4 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-02-17
- Last modified
- 2026-09-21
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-284
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.
Related
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://access.redhat.com/errata/RHSA-2025:2544 access.redhat.com
- https://access.redhat.com/errata/RHSA-2025:2545 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2025-1391 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2346082 bugzilla.redhat.com
- https://github.com/keycloak/keycloak/issues/37169 github.com
- https://github.com/keycloak/keycloak/pull/37235 github.com