Vulnerability record · CVE-2021-3827 · published 23 August 2022
CVE-2021-3827: Redhat keycloak improper authentication vulnerability
Redhat · Keycloak
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.
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.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3827 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2007512 | Issue TrackingVendor Advisory |
| https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d | PatchThird Party Advisory |
| https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2021-3827 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2007512 | Issue TrackingVendor Advisory |
| https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d | PatchThird Party Advisory |
| https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v | Third Party Advisory |
Track CVE-2021-3827 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3827), CISA KEV, FIRST EPSS (scores of 2026-11-20). This page is refreshed as NVD updates the record.