Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-1391— Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims

Quick assessment

Affected
CVE-2025-1391
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Keycloak是Keycloak开源的一种开源身份和访问管理解决方案。 Keycloak存在访问控制错误漏洞,该漏洞源于组织功能中用户与组织域模式错误匹配。攻击者利用该漏洞可以错误地分配到组织,可能导致未经授权的访问。

CVSS 5.4 · Medium EPSS 0.40% · P33

Affected Version Matrix 5

VendorProduct Version RangeStatus
None None 26.0.0< 26.0.10 affected
Red Hat Red Hat Build of Keycloak any unaffected
Red Hat Red Hat build of Keycloak 26.0 26.0.10-3< * unaffected
26.0-11< * unaffected
26.0-12< * unaffected

I. Basic Information for CVE-2025-1391

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
访问控制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Keycloak 访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Keycloak是Keycloak开源的一种开源身份和访问管理解决方案。 Keycloak存在访问控制错误漏洞,该漏洞源于组织功能中用户与组织域模式错误匹配。攻击者利用该漏洞可以错误地分配到组织,可能导致未经授权的访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 26.0.0 ~ 26.0.10 -
Red Hat Red Hat Build of Keycloak - cpe:/a:redhat:build_keycloak:26
Red Hat Red Hat build of Keycloak 26.0 26.0.10-3 ~ * cpe:/a:redhat:build_keycloak:26.0::el9
Red Hat Red Hat build of Keycloak 26.0 26.0-11 ~ * cpe:/a:redhat:build_keycloak:26.0::el9
Red Hat Red Hat build of Keycloak 26.0 26.0-12 ~ * cpe:/a:redhat:build_keycloak:26.0::el9

II. Public POCs for CVE-2025-1391

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-1391

登录查看更多情报信息。

Patches & Fixes for CVE-2025-1391 (1)

Vendor Advisories for CVE-2025-1391 (3)

Proof of Concept for CVE-2025-1391 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-1391

No comments yet


Leave a comment