Skip to main content

Red Hat Build of Keycloak CVE-2026-19729

| EUVDEUVD-2026-74756 MEDIUM
Path Traversal (CWE-22)
2026-09-09 redhat GHSA-g77f-483m-m79j
4.9
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as realm administrator
  2. Delivery
    Navigate to key provider configuration in admin console
  3. Exploit
    Submit crafted absolute filesystem path as keystore parameter
  4. Execution
    Observe server response differential (error type, timing, or message)
  5. Persist
    Enumerate target file existence and readability
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Realm admin required (PR:H) over network (AV:N); pure file-probe yields confidentiality impact only, no integrity or availability effect.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 4.9 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
enterprise IAM platform, common in Red Hat ecosystem deployments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy