Read the docs
TI-2021-02687 Aliases CVE-2021-3754GHSA-4vc8-pg5c-vg4x

Improper input validation in keycloak

Priority LOW 28CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

A flaw was found in keycloak where an attacker is able to register himself with the username same as the email ID of any existing user. This may cause trouble in getting password recovery email in case the user forgets the password.

Why it matters now

EPSS 0.02194 82nd percentileScored 2026-11-07
Fix Fixed org.keycloak:keycloak-services (Maven): 24.0.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—keycloakNot-Known—No fix listedCNA
—org.keycloak:keycloak-services (Maven)before 24.0.124.0.1Patch availableGHSA-4vc8-pg5c-vg4x
  • keycloak Vendor— Affected Not-Known Fixed in — No fix listed CNA
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 24.0.1 Fixed in 24.0.1 Patch available GHSA-4vc8-pg5c-vg4x

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
  • cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
  • cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-4vc8-pg5c-vg4x org.keycloak:keycloak-services (Maven) Fixed in 24.0.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

Not affected: 5 products
  • Red Hat Decision Manager 7
  • Red Hat OpenShift Application Runtimes
  • Red Hat Process Automation 7
  • Red Hat Single Sign-On 7
  • Red Hat support for Spring Boot

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3754
  2. 2026-10-03 Alias added: GHSA-4vc8-pg5c-vg4x

References

  • TI-2024-01049 Keycloak: path transversal in redirection validation CVSS 3.1HIGH 8.1
  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2020-08665 Server-side request forgery in keycloak CVSS 3.1MEDIUM 5.3
  • TI-2022-03468 Path traversal in Red Hat Keycloak CVSS 3.1CRITICAL 9.1
  • TI-2021-03612 A POST based reflected Cross Site Scripting vulnerability on has been identified in Keycloak. CVSS 3.1MEDIUM 6.1
  • TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
See all 97 →

Sources