CVE-2026-18571: Keycloak Services Group Assignment Bypass During User Creation

keycloak Updated 31 Aug 2026

Summary

31/08/2026
Yes i
High
Not published

CVE-2026-18571: Keycloak-services: keycloak-services: fgap v2 group assignment bypass during user creation. Affects keycloak versions < 26.7.3. Fixed in 26.7.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Keycloak is an open-source identity and access management solution that allows users to secure applications and services with little to no code. It provides features such as single sign-on (SSO), user federation, identity brokering, and social login. The vulnerability in question arises in the user creation component when Fine-Grained Admin Permissions V2 (FGAP V2) is enabled, exposing the system to potential unauthorized access.

Vulnerability Detail

A flaw exists in the user creation functionality of Keycloak when FGAP V2 is enabled. This vulnerability allows a sub-administrator, who has permission to create users, to assign those users to any group, regardless of whether they have the authority to manage those groups. This could lead to unauthorized access to sensitive information or elevated privileges for newly created users, posing a significant security risk.

How To Fix

Minimum fixed version

26.7.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can restrict the permissions of sub-administrators to prevent them from creating users until the patch is applied. This can be done by modifying the role assignments in the Keycloak admin console to limit access to user creation functionalities.

Conclusion

CVE-2026-18571 is a critical vulnerability in Keycloak that allows unauthorized group assignments during user creation. It is crucial to update to version 26.7.3 or later to mitigate this risk. Until then, restricting sub-administrator permissions can serve as a temporary workaround.

See every vulnerability recorded for keycloak →

Share this vulnerability

FAQ

CVE-2026-18571 is a vulnerability in Keycloak that allows sub-administrators to bypass group assignment restrictions during user creation.

If exploited, this vulnerability can allow unauthorized users to gain access to sensitive information or elevated privileges, compromising the security of your applications.

As a workaround, you should restrict the permissions of sub-administrators to prevent them from creating users until the patch can be applied.

You can find more details in the official vulnerability database or the GitHub repository for Bitnami Keycloak.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Related vulnerabilities

Recent vulnerabilities recorded for keycloak.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

26.7.3

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback