{"cve":"CVE-2025-1391","nvd":{"published":"2025-02-17T14:15:08.413","modified":"2026-09-21T06:17:00.010","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-284"],"references":["https://access.redhat.com/errata/RHSA-2025:2544","https://access.redhat.com/errata/RHSA-2025:2545","https://access.redhat.com/security/cve/CVE-2025-1391","https://bugzilla.redhat.com/show_bug.cgi?id=2346082","https://github.com/keycloak/keycloak/issues/37169"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-1391","score":0.00474,"percentile":0.40992,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gvgg-2r3r-53x7","url":"https://osv.dev/vulnerability/GHSA-gvgg-2r3r-53x7","summary":"Improper Authorization in Keycloak Organization Mapper Allows Unauthorized Organization Claims ","modified":"2025-03-10T21:26:49.577367Z","packages":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":[">=26.1.0 <26.1.3"],"fixed":["26.1.3"]},{"ecosystem":"Maven","name":"org.keycloak:keycloak-services","purl":"pkg:maven/org.keycloak/keycloak-services","ranges":["<26.0.10"],"fixed":["26.0.10"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}