All vulnerabilities

Servers and applications

CVE-2025-1391

Improper Authorization in Keycloak Organization Mapper Allows Unauthorized Organization Claims

Severity
Medium 5.4
Published
10 Mar 2025
Last changed
10 Mar 2025
Added to UpHeron
3 Nov 2026
Fixed in
26.0.10
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper access control (CWE-284)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Also known as
GHSA-gvgg-2r3r-53x7
Sources
Project advisories (GitHub)

Description

This vulnerability is caused by the improper mapping of users to organizations based solely on email/username patterns. The issue is limited to the token claim level, meaning the user is not truly added to the organization but may appear as such in applications relying on these claims. The risk increases in scenarios where self-registration is enabled and unrestricted, allowing an attacker to exploit the naming pattern. The issue is mitigated if admins restrict registration or use strict validation mechanisms.

From keycloak/keycloak's security advisory.

Affected software

SoftwareAffected versions
KeycloakServers and applications · github:keycloak/keycloak
  • Every version before 26.0.10

About Keycloak

open-source identity and access management

From Wikidata, CC0 1.0.
Docker Hub pulls
19,778,882Docker Hub, 15 Nov 2026
GitHub stars
37,872GitHub, 15 Nov 2026
Forks
9,194GitHub, 15 Nov 2026
Latest release
26.8.2GitHub, 15 Nov 2026
Released
5 Nov 2026GitHub
Developer
Red HatWikidata
License
Apache Software License 2.0Wikidata
Written in
JavaWikidata
First released
10 Sept 2014Wikidata
First published on GitHub
2 Jul 2013GitHub

Release lines

ReleaseLatestSecurity fixes
26.826.8.2Yes
26.726.7.5Ended 1 Oct 2026
26.626.6.4Ended 9 Jul 2026
26.526.5.7Ended 8 Apr 2026
26.426.4.7Ended 6 Jan 2026
26.326.3.5Ended 30 Sept 2025

From endoflife.date.

References