WaratekVRT Sign in

CVE-2025-1391

Severity5.4 Medium CVSS 3.1
Fixed in26.1.3, 26.0.10
WeaknessImproper access control (CWE-284)
Published17 Feb 2025
Updated21 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.47% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak #37235.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://github.com/keycloak/keycloak/pull/37235 : a pull request: the change under review

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-services 26.1.0 26.1.3 unbounded
org.keycloak:keycloak-services 0 26.0.10 unbounded

Products and versions

1 product, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-services generic < 26.0.10 · ≥ 26.1.0 and < 26.1.3

References

URLTags
https://github.com/keycloak/keycloak/pull/37235 pr
https://github.com/keycloak/keycloak/security/advisories/GHSA-gvgg-2r3r-53x7 WEB
https://github.com/keycloak/keycloak/commit/5aa2b4c75bb474303ab807017582bc01a9f7e378 WEB
https://access.redhat.com/errata/RHSA-2025:2545 WEB
https://access.redhat.com/security/cve/CVE-2025-1391 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2346082 WEB
https://github.com/keycloak/keycloak PACKAGE
https://access.redhat.com/errata/RHSA-2025:2544
https://github.com/keycloak/keycloak/issues/37169

Timeline

Published2025-02-17By the CVE Program.
NVD record modified2026-09-21NVD's own last-modified date for this record.