Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as realm administrator
-
DeliveryNavigate to key provider configuration in admin console
-
ExploitSubmit crafted absolute filesystem path as keystore parameter
-
ExecutionObserve server response differential (error type, timing, or message)
-
PersistEnumerate target file existence and readability
-
ImpactExfiltrate sensitive file path information
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 a valid realm administrator account in the target Keycloak deployment. This is not an unauthenticated or low-privilege attack - the attacker must hold the realm-admin role (or equivalent API permissions) for at least one realm on the target server. The vulnerability is reached through the key provider configuration interface, which is only accessible to realm administrators. In single-tenant or fully-trusted-admin deployments, this issue is mitigated by the trust level already granted to realm admins. The highest-risk scenario is a multi-tenant environment where distinct organizational tenants hold realm admin access, because those tenants may be partially trusted and should not have visibility into the server's filesystem. No special non-default configuration is required beyond having a realm administrator account - the key provider feature is standard functionality. |
| 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 score of 4.9 (Medium), and the metric choices are well-calibrated: PR:H (realm administrator required) is the critical limiting factor that prevents this from being a high-priority mass-exploitation target. The C:H rating reflects the potential for reading sensitive server-side files - including private keys, configuration files, or credential stores that the Keycloak process has read access to - which is genuinely impactful if achieved. However, a realm administrator already has broad Keycloak management privileges; the incremental risk is the ability to pivot beyond the Keycloak data boundary to the underlying OS filesystem. No KEV listing or POC code is present in available intelligence, and EPSS data is not provided. Real-world risk is moderate: environments where realm administrator roles are tightly scoped and granted to partially-trusted parties (e.g., per-tenant realm admins in a multi-tenant SaaS deployment) face higher exposure than environments where realm admins are also OS admins. The incomplete-fix nature of the bug slightly elevates confidence that the bypass is real and reachable. |
| Exploit ScenarioDerived | A realm administrator in a multi-tenant Keycloak deployment - for example, a SaaS tenant who has been granted admin rights over their own realm - opens the key provider configuration and submits a series of keystore parameters containing absolute filesystem paths such as /etc/shadow or /opt/keycloak/conf/keycloak.conf. The server's differential responses to valid versus invalid paths allow the attacker to enumerate file existence and infer readability, potentially locating private key material or application secrets stored on the host. No public exploit code has been identified, but the technique is straightforward once the bypass mechanism is known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Path traversal in the key provider component of Red Hat Build of Keycloak allows a realm administrator to probe arbitrary filesystem paths by supplying crafted keystore parameters, revealing the existence and readability of server-side files. The vulnerability exists because a prior fix for path probing was incomplete, leaving a residual bypass in the keycloak-services library - the core engine shared by both Red Hat Build of Keycloak and Red Hat Single Sign-On 7. No public exploit code has been identified at time of analysis, and exploitation requires realm administrator credentials, materially limiting opportunistic attack surface.
RemediationAI
Patch available per vendor advisory - apply the updated keycloak-services package from Red Hat as soon as it is released for your subscription channel (see https://access.redhat.com/security/cve/CVE-2026-19729 for errata details). Specific fixed version numbers are not present in available input data and should not be inferred. As a compensating control pending patching, restrict realm administrator role assignment to fully trusted internal operators only; in multi-tenant deployments, audit which accounts hold realm admin rights and revoke any that were granted for limited purposes. Additionally, ensure the Keycloak service account runs under a dedicated OS user with the narrowest possible filesystem read permissions so that even a successful probe reveals only Keycloak-owned files. Monitoring admin API calls that include filesystem-path-like strings in keystore configuration requests can provide detection coverage.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The keycloak-services library implements key provider components that allow realm administrators to configure keystores via the admin console or API. These keystore parameters accept filesystem paths, which the server resolves to load cryptographic material. CWE-22 (Path Traversal) applies because a previous patch imperfectly restricted the set of valid input paths, leaving a probe channel through which an attacker with realm admin access can submit arbitrary paths and infer file system state from server responses (e.g., different error codes or timing for existing vs. non-existing paths). Affected CPEs include cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:* and cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*. Both product lines share the underlying keycloak-services engine, making this a cross-product incomplete-fix regression.
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 required (PR:H) over network (AV:N); pure file-probe yields confidentiality impact only, no integrity or availability effect.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the key provider component of the keycloak-services library, which is the core engine for the Red Hat Build of Keycloak. The issue occurs because a previous fix for path probing was incomplete, allowing a realm administrator to still submit arbitrary filesystem paths as keystore parameters. This can be used to determine the existence and readability of files on the server, potentially exposing sensitive system information.
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.
Affected Products (CPE)CVE.org
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-74756
GHSA-g77f-483m-m79j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB