Keycloak Admin REST CVE-2025-14082
LOWVulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents minimal real-world risk despite its assignment as an information disclosure issue. The CVSS 2.7 score correctly reflects low impact (confidentiality only, no integrity or availability impact). The EPSS score of 0.01% (1st percentile) indicates extremely low likelihood of exploitation in the wild. The attack vector is network-accessible (AV:N) with low complexity (AC:L), but critically requires high-privilege authentication (PR:H), meaning only administrators or users with elevated roles can exploit it. This significantly reduces the threat surface compared to unauthenticated or low-privilege vulnerabilities. The sensitivity of disclosed information is constrained to role metadata rather than secrets or credentials. Per SSVC framework, this ranks as low-priority: exploitation requires privileged access, is not automatable across systems, and technical impact is limited to information disclosure. Organizations should prioritize patching higher-CVSS vulnerabilities first. |
| Exploit ScenarioDerived | An administrator with high-privilege access to a Keycloak instance queries the /admin/realms/{realm}/roles endpoint and retrieves role metadata (names, descriptions, or other sensitive attributes) for roles outside their delegated administrative scope, potentially discovering organizational structure, permissions hierarchy, or role assignments they should not have visibility into. The attack requires network access and valid high-privilege credentials, making it applicable only in environments where privilege separation is desired but not technically enforced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Keycloak Admin REST API discloses sensitive role metadata through insufficient authorization checks on the /admin/realms/{realm}/roles endpoint, allowing high-privileged authenticated users to access role information they should not have permission to view. With a CVSS score of 2.7 and EPSS of 0.01%, this is a low-severity information disclosure affecting confidentiality only; no public exploit identified at time of analysis.
RemediationAI
Apply the vendor-released patch provided via Red Hat Security Advisory (consult https://access.redhat.com/errata/RHSA-2026:6477 and https://access.redhat.com/errata/RHSA-2026:6478 for exact version numbers and deployment steps). The patch addresses insufficient authorization checks in the /admin/realms/{realm}/roles endpoint. As an interim control, restrict network or administrative access to Keycloak's Admin REST API to only trusted administrators and audit-log all role-related API queries. Verify authorization rules are properly applied to role metadata endpoints after patching.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Keycloak's Admin REST API implements role-based access control for administrative operations. The vulnerability stems from CWE-284 (Improper Access Control), where the /admin/realms/{realm}/roles endpoint fails to properly validate authorization permissions before returning sensitive role metadata. This affects the role management API layer in Keycloak, where high-privileged administrators (PR:H in CVSS vector) can query and view role information beyond their delegated scope. The flaw is specific to REST API authorization logic rather than a cryptographic or network-level issue, as evidenced by the AV:N/AC:L/PR:H/UI:N vector indicating network-accessible functionality requiring high privileges with no additional complexity.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (redhat) · only source for this CVE.
CVSS VectorVendor: redhat
Lifecycle Timeline
2DescriptionCVE.org
A flaw was found in Keycloak Admin REST (Representational State Transfer) API. This vulnerability allows information disclosure of sensitive role metadata via insufficient authorization checks on the /admin/realms/{realm}/roles endpoint.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB