CVE-2025-1391: Keycloak - Broken Access Control
- Cve: CVE-2025-1391
- Name: Keycloak - Broken Access Control
- 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.
- Impact: Attackers can be falsely assigned to organizations, potentially gaining unauthorized access or privileges based on token claims.
- Remediation: Update to the latest version of Keycloak where this issue is fixed or apply the recommended patch to correct organization assignment logic.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00474
- Epss percentile: 0.41794
- Assignee: [email protected]
- Published at: 2025-02-17T14:15:08Z
- Age in days: 645
- Modified at: 2026-09-21T06:17:00Z
- References total: 6
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-1391
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
Hackerone
- Reports: 1
- Rank: 2290
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| keycloak/keycloak | commit, fix, issues, package, pull, security_advisory | yes | /v1/repositories/keycloak/keycloak |
Index
- Repositories: 11
- Repositories high signal: 7
- Packages: 1
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts