Cyber Posture

CVE-2026-3872

High

Published: 02 April 2026

Published
02 April 2026
Modified
16 April 2026
KEV Added
Patch
CVSS Score 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Score 0.0001 1.8th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-3872 is a high-severity Open Redirect (CWE-601) vulnerability in Redhat Build Of Keycloak. Its CVSS base score is 7.3 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 1.8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 CM-7 (Least Functionality) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly requires timely identification, reporting, testing, and patching of the Keycloak flaw enabling wildcard redirect URI bypasses, as addressed by Red Hat errata like RHSA-2026:6475.

prevent

Mandates rigorous validation of redirect URI inputs to prevent attackers from bypassing Keycloak's wildcard path restrictions and stealing access tokens.

prevent

Restricts the web server to essential Keycloak functionality and paths only, preventing attackers from controlling sibling paths needed to exploit the redirect bypass.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1528 Steal Application Access Token Credential Access
Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.
Why these techniques?

Vulnerability in public-facing Keycloak enables exploitation for initial access (T1190) and directly facilitates theft of application access tokens via redirect URI bypass (T1528).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

A flaw was found in Keycloak. This issue allows an attacker, who controls another path on the same web server, to bypass the allowed path in redirect Uniform Resource Identifiers (URIs) that use a wildcard. A successful attack may lead…

more

to the theft of an access token, resulting in information disclosure.

Deeper analysisAI

CVE-2026-3872 is a vulnerability in Keycloak that enables an attacker who controls another path on the same web server to bypass restrictions on allowed paths in redirect Uniform Resource Identifiers (URIs) that employ wildcards. This flaw, classified under CWE-601 (URL Redirector Abuse), can result in the theft of an access token and information disclosure. The issue carries a CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N).

Exploitation requires an attacker with low privileges and control over another path on the same web server hosting Keycloak, along with network access and user interaction. A successful attack allows the bypass of wildcard-based redirect URI validations, enabling the theft of access tokens and achieving high impacts on confidentiality and integrity, such as unauthorized access to protected resources.

Red Hat has issued multiple errata to address this vulnerability, including RHSA-2026:6475, RHSA-2026:6476, RHSA-2026:6477, and RHSA-2026:6478. Further details on the CVE, including mitigation guidance, are available at https://access.redhat.com/security/cve/CVE-2026-3872.

Details

CWE(s)

Affected Products

redhat
build of keycloak
26.2, 26.2.15, 26.4, 26.4.11, all versions

CVEs Like This One

CVE-2026-4282Same product: Redhat Build Of Keycloak
CVE-2026-4634Same product: Redhat Build Of Keycloak
CVE-2026-4636Same product: Redhat Build Of Keycloak
CVE-2026-3047Same product: Redhat Build Of Keycloak
CVE-2026-3009Same product: Redhat Build Of Keycloak
CVE-2026-28369Same vendor: Redhat
CVE-2026-5483Same vendor: Redhat
CVE-2026-32590Same vendor: Redhat
CVE-2025-12543Same vendor: Redhat
CVE-2026-28367Same vendor: Redhat

References