Command Injection in Keycloak - CVE-2025-8419

 

Command Injection in Keycloak - CVE-2025-8419

Published: September 9, 2025 / Updated: September 17, 2025


Vulnerability identifier: #VU115003
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2025-8419
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SMTP commands.

The vulnerability exists due to insufficient input validation during e-mail registration. A remote attacker can pass specially crafted data to the application and send out e-mail messages.



Affected software

Keycloak
Red Hat build of Keycloak

How to mitigate CVE-2025-8419

Install updates from vendor's website.

Keycloak - addressed in versions 26.0.15, 26.2.8, 26.3.3
Red Hat build of Keycloak - addressed in versions 26.0.15, 26.2.8

External References

Related Security Bulletins