Security mailing lists by PureSourceCode

CVE-2025-1391

MEDIUM 5.4CVSS 3.1

Improper Authorization in Keycloak Organization Mapper Allows Unauthorized Organization Claims

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.

Published
17 Feb 2025
Last modified
21 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-284
Also known as
GHSA-gvgg-2r3r-53x7
Sources
NVDJSONOSV GHSA-gvgg-2r3r-53x7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) 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
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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.keycloak:keycloak-services >= 26.1.0, < 26.1.3 26.1.3
OSV Maven org.keycloak:keycloak-services < 26.0.10 26.0.10

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 17 Feb 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.