Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain realm admin credentials
-
DeliveryAuthenticate to Keycloak admin API
-
ExploitSubmit crafted keystore path in key provider creation request
-
ExecutionObserve API response for file existence signal
-
PersistEnumerate sensitive filesystem paths
-
ImpactIdentify high-value targets for follow-on attack
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated session with realm administrator privileges specifically holding the 'manage-realm' role within the target Keycloak realm. The vulnerability is triggered through the key provider component creation API endpoint in the Keycloak admin interface - it is not accessible via unauthenticated or end-user-facing endpoints. The attack is network-accessible (AV:N) with low complexity (AC:L), meaning no special network position or race condition is required once credentials are obtained. Exploitation is limited by: (1) mandatory possession of valid 'manage-realm' role credentials, ruling out unauthenticated or low-privilege attackers; (2) the impact being read-only filesystem probing - no write, delete, or code execution capability is exposed by this flaw alone; and (3) the information returned is constrained to file existence and readability by the Keycloak process user, not direct file content exfiltration. Non-default configurations or specific platform versions are not stated as additional prerequisites in the available description. |
| Impact | The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N yields a base score of 4.9, which accurately reflects a meaningful but constrained risk. The high-privilege requirement (PR:H - realm administrator with 'manage-realm' role) is the primary limiting factor: this is not an unauthenticated or low-privilege flaw. In practice, exploitation presupposes a compromised or malicious realm administrator account. Within multi-tenant Keycloak deployments, however, realm admins are distinct from super-admins and may be granted to a broader set of operators, making the realistic attack surface wider than PR:H implies for large deployments. The unchanged scope (S:U) and absence of integrity/availability impact (I:N/A:N) confirm this is a pure information disclosure. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. No KEV listing and no POC code are identified, suggesting no active or publicly demonstrated exploitation at time of analysis. The primary real-world risk is reconnaissance: a malicious realm admin can map the host filesystem to locate configuration files, private keys, or credential stores, staging follow-on privilege escalation outside Keycloak. |
| Exploit ScenarioDerived | A threat actor who has obtained realm administrator credentials (via phishing, credential stuffing, or insider access) authenticates to the Keycloak admin API and issues a key provider creation request with the keystore path set to a target such as '/etc/keycloak/standalone/configuration/standalone.xml' or '/root/.ssh/id_rsa'. The Keycloak process attempts to open the specified file, and the API response - whether an error message or a successful parse attempt - reveals whether the file exists and is readable by the Keycloak service account. The attacker iterates over high-value paths to build a filesystem map, identifying credential stores or private key material to support follow-on attacks. No public POC code was identified at time of analysis, but the attack requires only standard admin API calls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Red Hat Build of Keycloak allows realm administrators holding the 'manage-realm' role to probe arbitrary filesystem paths by submitting unsanitized path values as keystore parameters during key provider component creation. The Keycloak process's file access attempt reveals whether a given path exists and is readable, functioning as a filesystem oracle for authenticated attackers. No public exploit code or active exploitation has been identified at time of analysis; the CVSS score of 4.9 (PR:H) reflects the significant constraint of requiring realm administrator credentials prior to exploitation.
RemediationAI
Consult the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2026-9083 for the official patch; a specific fixed version number was not confirmed in the provided input data, so a precise upgrade target cannot be stated here. In the interim, restrict the 'manage-realm' role to the minimum set of fully trusted administrators, as this role is the prerequisite for exploitation - reducing its assignment scope directly limits the attack surface. Audit existing realm administrators and revoke the 'manage-realm' role from any accounts that do not strictly require key provider management capabilities. Where Keycloak is deployed in multi-tenant environments, consider deploying separate Keycloak instances per tenant to limit blast radius if a realm admin account is compromised. Running the Keycloak process under a minimally privileged OS service account reduces the set of filesystem paths that can be probed, though this is a depth-in-defense measure, not a fix. Monitor admin API activity for key provider creation requests with anomalous or unexpected path values as a detection control.
Affected VersionsENISA
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 is an open-source Identity and Access Management (IAM) platform distributed commercially as Red Hat Build of Keycloak. Its realm administration interface exposes an API for configuring cryptographic key provider components, which accepts filesystem paths to keystores. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, or Path Traversal): the keystore path parameter is not validated or sandboxed against a permitted directory before the Keycloak process attempts to access it. Because Keycloak may run with elevated OS-level permissions to access its own keystores, this path traversal exposes any file readable by the Keycloak service account. The affected CPE (cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*) uses a wildcard version field, indicating Red Hat has not bounded the affected version range in the CPE data.
Know when Red Hat Build Of Keycloak gets its next vulnerability
- 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:H/I:N/A:N
Realm admin role required (PR:H); network API accessible (AV:N); impact is read-only filesystem probing with no integrity or availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in Keycloak. A realm administrator with the "manage-realm" role can exploit this vulnerability by submitting an arbitrary filesystem path as a keystore parameter when creating a key provider component. This allows the administrator to probe arbitrary filesystem paths, determining which files exist and are readable by the Keycloak process. This information disclosure could be used to identify high-value targets for follow-on attacks.
Blast Radius
ecosystem impact- 52 maven packages depend on org.keycloak:keycloak-services (20 direct, 32 indirect)
Ecosystem-wide dependent count for version 26.6.4.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re
Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou
Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho
Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re
Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro
Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut
EUVD-2026-39476
GHSA-7pm9-g8jh-3m74
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB