Public vulnerability disclosure

CVE-2024-9666

Org.keycloak/keycloak-quarkus-server: keycloak proxy header handling denial-of-service (dos) vulnerability

publishedCWE-444

A vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service. The attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.

Technical severity4.7 mediumCVSS 3.1 · CNA: redhat
Published2024-11-25Source updated 2026-11-03
Collected2026-11-032 attributed sources

Fixes and workarounds

Workaround

Configure the reverse proxy to overwrite incoming proxy headers, including X-Forwarded-For, and ensure Keycloak trusts proxy headers only from the intended proxy rather than directly from untrusted clients. If proxy-header support is not required, disable acceptance of incoming proxy headers.

Source: CNA: redhat

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


keycloak
https://github.com/keycloak/keycloak
≥ 0; < 24.0.9 (affected, semver)
≥ 25.0.0; < 26.0.6 (affected, semver)
Other versions: unaffected
CNA: redhat
Red Hat build of Keycloak 24
Red Hat
rhbk/keycloak-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 24.0.9-1; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 24
Red Hat
rhbk/keycloak-rhel9
https://catalog.redhat.com/software/containers/
≥ 24-18; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 24
Red Hat
rhbk/keycloak-rhel9-operator
https://catalog.redhat.com/software/containers/
≥ 24-18; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 24.0.9
Red Hat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat build of Keycloak 26.0
Red Hat
rhbk/keycloak-operator-bundle
https://catalog.redhat.com/software/containers/
≥ 26.0.6-2; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 26.0
Red Hat
rhbk/keycloak-rhel9
https://catalog.redhat.com/software/containers/
≥ 26.0-5; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 26.0
Red Hat
rhbk/keycloak-rhel9-operator
https://catalog.redhat.com/software/containers/
≥ 26.0-6; < * (unaffected, rpm)
Other versions: affected
CNA: redhat
Red Hat build of Keycloak 26.0.6
Red Hat
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: unaffected
CNA: redhat
Red Hat Build of Keycloak
Red Hat
keycloak-quarkus-server
https://access.redhat.com/downloads/content/package-browser/
Range not reported
Other versions: affected
CNA: redhat
Red Hat JBoss Enterprise Application Platform 8
Red Hat
keycloak-quarkus-server
https://access.redhat.com/jbossnetwork/restricted/listSoftware.html
Range not reported
Other versions: unaffected
CNA: redhat

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 4.7
medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HCNA: redhat

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide