# CVE-2024-4629: Keycloak: potential bypass of brute force protection

Status: published. Published: 2024-09-03. Updated: 2026-11-27.

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.

## Remediation

- workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. (source: CNA: redhat)

## Affected products and versions

-  /  (keycloak): 24.0.3 (affected). Source: CNA: redhat
- Red Hat / Red Hat Build of Keycloak (keycloak-parent): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 22 (rhbk/keycloak-operator-bundle): ≥ 22.0.12-1; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 22 (rhbk/keycloak-rhel9): ≥ 22-17; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat build of Keycloak 22 (rhbk/keycloak-rhel9-operator): ≥ 22-20; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Single Sign-On 7 (keycloak-parent): Version range not reported. Source: CNA: redhat
- Red Hat / Red Hat Single Sign-On 7.6 for RHEL 7 (rh-sso7-keycloak): ≥ 0:18.0.16-1.redhat_00001.1.el7sso; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Single Sign-On 7.6 for RHEL 8 (rh-sso7-keycloak): ≥ 0:18.0.16-1.redhat_00001.1.el8sso; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Single Sign-On 7.6 for RHEL 9 (rh-sso7-keycloak): ≥ 0:18.0.16-1.redhat_00001.1.el9sso; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / RHEL-8 based Middleware Containers (rh-sso-7/sso76-openshift-rhel8): ≥ 7.6-52; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat JBoss Enterprise Application Platform 8 (keycloak-parent): Version range not reported. Source: CNA: redhat

## Severity and prioritization

- CVSS 3.1: 6.5 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N; source: CNA: redhat

- CISA KEV: No listing in collected sources

- EPSS: 1.03% as of 2026-11-26; percentile 62.76%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-837

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2024:6493 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6494 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6495 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6497 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6499 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6500 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2024:6501 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2024-4629 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2276761 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://security.humanativaspa.it/an-analysis-of-the-keycloak-authentication-system/ (ADP: CVE)

- https://github.com/hnsecurity/vulns/blob/main/HNS-2024-09-Keycloak.md (ADP: CVE)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2024-4629; retrieved 2026-11-27; source updated 2026-11-27

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-4629; retrieved 2026-11-27; source updated Not reported

Revision: 66bbd145d8af561d5b9aadc0ef229484223256fc53ca43f4d620db3074965f7f

Canonical: https://y2.dev/cve/CVE-2024-4629

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.