6.8medium
Keycloak-server: debug default bind address
- Severity
- 6.8medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-j4vq-q93m-4683
Description
A vulnerability exists in Keycloak's server distribution where enabling debug mode (--debug <port>) insecurely defaults to binding the Java Debug Wire Protocol (JDWP) port to all network interfaces (0.0.0.0). This exposes the debug port to the local network, allowing an attacker on the same network segment to attach a remote debugger and achieve remote code execution within the Keycloak Java virtual machine.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | before 26.4.4 | CVE List |
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 26.4.4-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 26.4-3 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 26.4-3 before * | CVE List |
| org.keycloak:keycloak-quarkus-dist (Maven) | before 26.4.4 | GitHub Advisory Database |
All scores
| redhat | 6.8medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A vulnerability exists in Keycloak's server distribution where enabling debug mode (--debug <port>) insecurely defaults to binding the Java Debug Wire Protocol (JDWP) port to all network interfaces (0.0.0.0). This exposes the debug port to the local network, allowing an attacker on the same network segment to attach a remote debugger and achieve remote code execution within the Keycloak Java virtual machine.
GitHub Advisory Database
A vulnerability exists in Keycloak's server distribution where enabling debug mode (--debug) insecurely defaults to binding the Java Debug Wire Protocol (JDWP) port to all network interfaces (0.0.0.0). This exposes the debug port to the local network, allowing an attacker on the same network segment to attach a remote debugger and achieve remote code execution within the Keycloak Java virtual machine.
Red Hat evaluates this as a Moderate impact vulnerability due to the requirement of running debug mode and untrusted network. Also, for Red Hat Single Sign-On, this must as well be bound to 0.0.0.0 address, which is not recommended in production scenarios.
NVD (es)
Una vulnerabilidad existe en la distribución del servidor de Keycloak donde la activación del modo de depuración (--debug <port>) por defecto enlaza de forma insegura el puerto del Java Debug Wire Protocol (JDWP) a todas las interfaces de red (0.0.0.0). Esto expone el puerto de depuración a la red local, permitiendo que un atacante en el mismo segmento de red adjunte un depurador remoto y logre la ejecución remota de código dentro de la máquina virtual Java de Keycloak.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-11538 changed 2025-12-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j4vq-q93m-4683 changed 2025-12-02 | CC-BY-4.0 |
| NVD | CVE-2025-11538 changed 2026-10-18 | Public domain |