Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
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 Input Capture (T1056); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
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.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-18206
Vulnerability Data
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V3.7.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Input validation directly checks and rejects untrusted redirect targets before they are used in a response.
Information flow enforcement can restrict redirects to only approved/trusted destinations, stopping untrusted user-supplied URLs from being followed.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and untrusted-redirect controls that prevent CWE-601.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.29's programme (SAST, code review, vulnerability scanning, penetration testing) reaches open redirects through both SOURCE and RUNTIME: SAST flags redirect calls fed by user input, code review catches unvalidated URL parameters, and pen testing observes the redirect by following crafted URLs. The remainder is bounded and nameable -- conditional or chained redirects, redirects in third-party components not covered by the test plan, and cases where the malicious URL is constructed through non-obvious paths that a single test cycle misses.
A.8.28 mandates secure coding practices (peer review, secure coding standards, training, threat modelling, SAST) that address input validation and redirect handling, so a system under it sees fewer open redirect instances; the practice is fallible and the clause mandates a practice rather than a mechanism, leaving a nameable remainder of instances that slip through, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
A.8.8's reach is DISCLOSURE — it identifies vulnerabilities through vendor advisories, vulnerability scanning, and tracking third-party libraries. CWE-601 (Open Redirect) does surface as CVEs (CVE-2005-4206, CVE-2008-2951, CVE-2008-2052, CVE-2020-11053), so the disclosed share exists, but open redirects are predominantly a first-party web application code defect, and A.8.8's scanning reaches only the third-party components in its inventory where a published advisory exists — the same logic that graded A.8.8 finds CWE-89 = partial.