Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims (keycloak-services)

CVE-2025-1391
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 0.47 % · percentile 41 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-284 — Improper Access Control

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
keycloak-servicesaffected 26.0.0 < 26.0.10
Red Hat · Red Hat Build of Keycloak
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.10-3 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-11 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-12 < *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD