CVE-2025-1391

Source
https://cve.org/CVERecord?id=CVE-2025-1391
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1391.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-1391
Aliases
Published
2025-02-17T14:01:35.354Z
Modified
2026-07-16T03:47:31.744995900Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Keycloak-services: improper authorization in keycloak organization mapper allows unauthorized organization claims
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1391.json",
    "cna_assigner": "redhat"
}
References

Affected packages

Git / github.com/keycloak/keycloak

Affected ranges

Type
GIT
Repo
https://github.com/keycloak/keycloak
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "26.0.0"
        },
        {
            "fixed": "26.0.10"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1391.json"