CVE-2025-13881: Keycloak Services Vulnerability Allows Limited Admins to Access Sensitive Attributes

Summary

02/02/2026
Yes i
Low
2.7

CVE-2025-13881: A flaw was found in Keycloak Admin API. Affects org.keycloak:keycloak-services versions < 26.5.2. Fixed in 26.5.2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Keycloak is an open-source identity and access management solution designed to secure applications and services with minimal effort. It provides features such as single sign-on, user federation, identity brokering, and social login. The Keycloak Admin API is a critical component that allows administrators to manage users, roles, and permissions. However, a vulnerability has been identified that compromises the security of sensitive user attributes.

Vulnerability Detail

A flaw was found in the Keycloak Admin API that allows an administrator with limited privileges to retrieve sensitive custom attributes through the /unmanagedAttributes endpoint. This bypasses the User Profile visibility settings, potentially exposing sensitive information to unauthorized users. The vulnerability stems from insufficient access controls within the API, which could lead to data leaks and privacy violations.

How To Fix

Latest published version: 26.8.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

26.5.2

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 workaround, administrators can limit access to the /unmanagedAttributes endpoint by implementing stricter role-based access controls until the package is updated. Ensure that only trusted administrators have access to sensitive user attributes.

Conclusion

The CVE-2025-13881 vulnerability in Keycloak Services poses a risk to sensitive user attributes due to insufficient access controls. It is crucial for administrators to update their packages promptly and consider implementing additional security measures to mitigate potential risks.

See every vulnerability recorded for org.keycloak:keycloak-services →

Share this vulnerability

FAQ

CVE-2025-13881 is a vulnerability in the Keycloak Admin API that allows limited privilege administrators to access sensitive custom attributes.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The vulnerability could lead to unauthorized access to sensitive user information, resulting in privacy violations and potential data leaks.

The CVSS score of this vulnerability is 2.7, indicating a low severity level.

To protect your application, update the Keycloak Services package to version 26.5.2 or later and implement stricter access controls in the meantime.

Related vulnerabilities

Recent vulnerabilities recorded for org.keycloak:keycloak-services.

How To Fix

Latest published version: 26.8.1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

26.5.2

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