CVE-2024-4629: keycloak · Improper Enforcement of a Single, Unique Action
Affects keycloakSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 22 Nov 2026, 21:14 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.keycloak/keycloakpkg:maven/org.keycloak/keycloakOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-4629, organizations should first upgrade Keycloak to a version where this vulnerability is fixed once an official patch is released. In the absence of an immediate patch, administrators can implement several practical controls: 1) Deploy external rate limiting or web application firewalls (WAFs) to detect and block rapid, simultaneous login attempts from the same IP or user account. 2) Configure Keycloak to use additional multi-factor authentication (MFA) methods to reduce the risk of compromised credentials being abused. 3) Monitor authentication logs for unusual patterns of concurrent login attempts and implement alerting for brute force indicators. 4) Consider deploying network-level protections such as IP reputation filtering and geo-blocking to limit exposure. 5) If possible, adjust the brute force protection settings to be more aggressive or implement custom logic to handle concurrent attempts more effectively. 6) Educate users on strong password policies and encourage the use of password managers to reduce guessable credentials. 7) Isolate Keycloak instances behind VPNs or internal networks where feasible to reduce exposure to external attackers. These measures, combined with prompt patching, will reduce the risk of exploitation and protect account security.
Description
A vulnerability was found in Keycloak. This flaw allows attackers to bypass brute force protection by exploiting the timing of login attempts. By initiating multiple login requests simultaneously, attackers can exceed the configured limits for failed attempts before the system locks them out. This timing loophole enables attackers to make more guesses at passwords than intended, potentially compromising account security on affected systems.
References
- access.redhat.com/errata/RHSA-2024:6493 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6494 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6495 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6497 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6499 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6500 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:6501 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-4629 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2276761 (opens in a new tab)
- security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/ (opens in a new tab)
- github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md (opens in a new tab)