GitHub Advisoryadvisory · Maven
GHSA-j4vq-q93m-4683 Keycloak has debug default bind address
MEDIUM
Official page ↗
- Aliases
- CVE-2025-11538
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-quarkus-dist
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-1327
- Reviewed
- 2025-12-02
Affected packages
• Maven org.keycloak:keycloak-quarkus-dist: < 26.4.4 → fixed in 26.4.4
Description
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.
Related
Alias · CVE (1)
- CVE-2025-11538 A vulnerability exists in Keycloak's server distribution where enabling debug mode (--debug <port>) insecurely defaults to binding the Java… vulnerability
Weakness · CWE (1)
- CWE-1327 Binding to an Unrestricted IP Address weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-j4vq-q93m-4683 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-11538 advisory
- https://access.redhat.com/errata/RHSA-2025:21370 web
- https://access.redhat.com/errata/RHSA-2025:21371 web
- https://access.redhat.com/security/cve/CVE-2025-11538 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2402622 web
- https://github.com/keycloak/keycloak package