Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-9666

MEDIUM 4.7EPSS 12%

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

Also known as GHSA-jgwc-jh89-rpgq

Mitigation

  • Upgrade org.keycloak:keycloak-quarkus-server to 26.0.6 or later.
  • Vendor 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.

Who should check

  • Projects that depend on Maven package org.keycloak:keycloak-quarkus-server (12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 13.0.1, 14.0.0, 15.0.0, 15.0.1)
  • Anyone running keycloak < 24.0.9; >= 25.0.0, < 26.0.6
  • Anyone running Red Hat build of Keycloak 24 all versions
  • Anyone running Red Hat build of Keycloak 24.0.9 (versions: see the vendor advisory)
  • Anyone running Red Hat build of Keycloak 26.0 all versions
  • Anyone running Red Hat build of Keycloak 26.0.6 (versions: see the vendor advisory)
  • Anyone running Red Hat Build of Keycloak all versions
  • Anyone running Red Hat JBoss Enterprise Application Platform 8 (versions: see the vendor advisory)

Vulnerability facts

Affected
org.keycloak:keycloak-quarkus-server 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 13.0.1, 14.0.0, 15.0.0, 15.0.1
Fixed in
26.0.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
CWE
CWE-444
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.keycloak:keycloak-quarkus-server12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 13.0.1, 14.0.0, 15.0.0, 15.0.126.0.6osv
keycloak< 24.0.9; >= 25.0.0, < 26.0.6—cvelist
Red Hat build of Keycloak 24all versions—cvelist
Red Hat build of Keycloak 24all versions—cvelist
Red Hat build of Keycloak 24all versions—cvelist
Red Hat build of Keycloak 24.0.9——cvelist
Red Hat build of Keycloak 26.0all versions—cvelist
Red Hat build of Keycloak 26.0all versions—cvelist
Red Hat build of Keycloak 26.0all versions—cvelist
Red Hat build of Keycloak 26.0.6——cvelist
Red Hat Build of Keycloakall versions—cvelist
Red Hat JBoss Enterprise Application Platform 8——cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-9666. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-9666.md
Affected: org.keycloak:keycloak-quarkus-server 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 13.0.1, 14.0.0, 15.0.0, 15.0.1
Fixed in: 26.0.6

Steps:
1. Search this machine and project for org.keycloak:keycloak-quarkus-server (Maven), keycloak, Red Hat build of Keycloak 24, Red Hat build of Keycloak 24.0.9, Red Hat build of Keycloak 26.0, Red Hat build of Keycloak 26.0.6: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-9666 being exploited?

There is no confirmed exploitation: CVE-2024-9666 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-9666?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2024-9666?

org.keycloak:keycloak-quarkus-server 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 13.0.0, 13.0.1, 14.0.0, 15.0.0, 15.0.1.

Is there a fix for CVE-2024-9666?

Yes. Fixed in 26.0.6. Upgrade org.keycloak:keycloak-quarkus-server to 26.0.6 or later. Vendor 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.

How do I check if I'm affected by CVE-2024-9666?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors