WaratekVRT Sign in

CVE-2021-3827 keycloak

Affected softwarekeycloak
Severity6.8 Medium CVSS 3.1
Fixed in18.0.0
WeaknessImproper authentication (CWE-287)
Published23 Aug 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.2% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: keycloak/keycloak 44000ca.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d : a commit: the change itself

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.keycloak:keycloak-saml-core 0 18.0.0 unbounded

Products and versions

4 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.keycloak keycloak-saml-core generic < 18.0.0
nvd redhat keycloak generic < 18.0.0
nvd redhat openshift container platform generic 4.8 · 4.9
nvd redhat single sign-on generic 7.0 · 7.5.0

References

URLTags
https://github.com/keycloak/keycloak/commit/44000caaf5051d7f218d1ad79573bd3d175cad0d commit
https://github.com/keycloak/keycloak/security/advisories/GHSA-4pc7-vqv5-5r3v WEB
https://access.redhat.com/security/cve/CVE-2021-3827 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2007512 WEB
https://github.com/keycloak/keycloak PACKAGE

Timeline

Published2022-08-23By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.