Live threats

All CVEs / Redhat

CVE-2021-3827Redhat Keycloak

Medium 6.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keycloak.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
redhatkeycloak< 18.0.0
redhatsingle_sign-on7.0
redhatsingle_sign-on7.5.0
redhatopenshift_container_platform4.8
redhatopenshift_container_platform4.9

Official sources

References

Links published by the sources. Open them with care.