Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.keycloak/keycloak-services
  4. ›
  5. GHSA-rq4w-cjrr-h8w8

GHSA-rq4w-cjrr-h8w8: Duplicate Advisory: Keycloak allows Incorrect Assignment of an Organization to a User

February 17, 2025 (updated March 10, 2025)

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.

References

  • access.redhat.com/errata/RHSA-2025:2544
  • access.redhat.com/errata/RHSA-2025:2545
  • access.redhat.com/security/cve/CVE-2025-1391
  • bugzilla.redhat.com/show_bug.cgi?id=2346082
  • github.com/advisories/GHSA-rq4w-cjrr-h8w8
  • github.com/keycloak/keycloak
  • github.com/keycloak/keycloak/commit/5aa2b4c75bb474303ab807017582bc01a9f7e378
  • nvd.nist.gov/vuln/detail/CVE-2025-1391

Code Behaviors & Features

Detect and mitigate GHSA-rq4w-cjrr-h8w8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.1.2

Fixed versions

  • 26.1.2

Solution

Upgrade to version 26.1.2 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

maven/org.keycloak/keycloak-services/GHSA-rq4w-cjrr-h8w8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.