CVE-2025-11538
JSON

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 packageVersionsReported by
keycloakbefore 26.4.4CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.4.4-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.4-3 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.4-3 before *
CVE List
org.keycloak:keycloak-quarkus-dist (Maven)before 26.4.4GitHub Advisory Database

All scores

redhat6.8medium CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-1327

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

SourceRecordLicence
CVE ListCVE-2025-11538 changed 2025-12-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-j4vq-q93m-4683 changed 2025-12-02CC-BY-4.0
NVDCVE-2025-11538 changed 2026-10-18Public domain