GHSA-rq4w-cjrr-h8w8
MEDIUM 5.4CVSS 3.1withdrawn / rejectedDuplicate Advisory: Keycloak allows Incorrect Assignment of an Organization to a User
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-gvgg-2r3r-53x7. This link is maintained to preserve external references.
Original 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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.keycloak:keycloak-services | < 26.1.2 | 26.1.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1391 · ADVISORY
- https://github.com/keycloak/keycloak/commit/5aa2b4c75bb474303ab807017582bc01a9f7e378 · WEB
- https://access.redhat.com/errata/RHSA-2025:2544 · WEB
- https://access.redhat.com/errata/RHSA-2025:2545 · WEB
- https://access.redhat.com/security/cve/CVE-2025-1391 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2346082 · WEB
- https://github.com/keycloak/keycloak · PACKAGE
History
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Feb 2025)