CVE-2021-3827Redhat Keycloak
Medium 6.8
Follow: this CVE · Redhat · Redhat Keycloak We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- Yes
- Published
- Aug 23, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Keycloak.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-saml-core |
< 18.0.0 |
18.0.0 |
— |
Per OSV / GitHub Advisories (GHSA-4pc7-vqv5-5r3v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | keycloak | < 18.0.0 |
| redhat | single_sign-on | 7.0 |
| redhat | single_sign-on | 7.5.0 |
| redhat | openshift_container_platform | 4.8 |
| redhat | openshift_container_platform | 4.9 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory