CVE-2021-3827
CVE-2021-3827 is a medium-severity vulnerability in Redhat Keycloak with a CVSS 3.x base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-287.
Key facts
- Severity: Medium (CVSS 3.x base score 6.8)
- EPSS exploit prediction: 1% (68th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-287
- Affected product: Redhat Keycloak
- Published:
- Last modified:
Description
A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed. By exploiting this behavior, an attacker can bypass the MFA authentication by sending a SOAP request with an AuthnRequest and Authorization header with the user's credentials. The highest threat from this vulnerability is to confidentiality and integrity.
Frequently asked questions
- What is CVE-2021-3827?
- A flaw was found in keycloak, where the default ECP binding flow allows other authentication flows to be bypassed. By exploiting this behavior, an attacker can bypass the MFA authentication by sending a SOAP request with an AuthnRequest and Authorization header with the user's credentials. The highest threat from this vulnerability is to confidentiality and integrity.
- How severe is CVE-2021-3827?
- CVE-2021-3827 has a CVSS 3.x base score of 6.8, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2021-3827 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (68th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-3827?
- CVE-2021-3827 primarily affects Redhat Keycloak. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-3827?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-3827 published?
- CVE-2021-3827 was published on 2022-08-23 and last updated on 2026-06-17.
References
- https://access.redhat.com/security/cve/CVE-2021-3827
- https://bugzilla.redhat.com/show_bug.cgi?id=2007512
- https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d
- https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v
Affected products (5)
- cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:single_sign-on:7.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:4.8:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:4.9:*:*:*:*:*:*:*
More vulnerabilities in Redhat Keycloak
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
- CVE-2022-1245 — Critical (CVSS 9.8): A privilege escalation flaw was found in the token exchange feature of keycloak. Missing authorization allows a client…
- CVE-2019-14910 — Critical (CVSS 9.8): A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used…
- CVE-2021-20195 — Critical (CVSS 9.6): A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete…
- CVE-2022-3782 — Critical (CVSS 9.1): keycloak: path traversal via double URL encoding. A flaw was found in Keycloak, where it does not properly validate…
- CVE-2019-14837 — Critical (CVSS 9.1): A flaw was found in keycloack before version 8.0.0. The owner of 'placeholder.org' domain can setup mail server on this…
All CVEs affecting Redhat Keycloak →
Other CWE-287 (Improper Authentication) vulnerabilities
- CVE-2026-130778 — Critical (CVSS 10.0): Incus before 7.6.0 contains an authentication bypass vulnerability that allows remote attackers to authenticate as any…
- CVE-2026-100397 — Critical (CVSS 10.0): Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1,…
- CVE-2026-127275 — Critical (CVSS 10.0): A vulnerability was determined in Linksys EA8100 1.0.3.216940. This issue affects the function…
- CVE-2026-121933 — Critical (CVSS 10.0): A flaw has been found in Linksys E5350 1.0.00.037. This impacts the function save_settings of the file…
- CVE-2026-121615 — Critical (CVSS 10.0): A vulnerability was determined in Linksys E5600 1.1.0.26. Affected is an unknown function of the file…
- CVE-2026-84295 — Critical (CVSS 10.0): Improper authentication in Progress Software WS_FTP Server versions prior to 2024.0.6 and 2025.0.3 on Windows could…
Browse all CWE-287 (Improper Authentication) vulnerabilities →