Improper Access Control Affecting keycloak-25 package, versions <25.0.6+e2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.41% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KEYCLOAK25-19435029
  • published31 Aug 2026
  • disclosed17 Feb 2025

Introduced: 17 Feb 2025

CVE-2025-1391  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade Echo:latest keycloak-25 to version 25.0.6+e2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keycloak-25 package and not the keycloak-25 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1