CVE-2025-8419: medium-severity vulnerability in keycloak
Org.keycloak/keycloak-services: keycloak smtp inject vulnerability
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.3epss 0.6%
A vulnerability was found in Keycloak-services. Special characters used during e-mail registration may perform SMTP Injection and unexpectedly send short unwanted e-mails. The email is limited to 64 characters (limited local part of the email), so the attack is limited to very shorts emails (subject and little data, the example is 60 chars). This flaw's only direct consequence is an unsolicited email being sent from the Keycloak server. However, this action could be a precursor for more sophisticated attacks.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
Keycloak · keycloakRed Hat · Red Hat Build of KeycloakRed Hat · Red Hat build of Keycloak 26.0Red Hat · Red Hat build of Keycloak 26.2Related CVEs — keycloak
In the same product, most dangerous first.
CVE-2024-1635HIGHUndertow: out-of-memory error after several closed connections with wildfly-http-client protocolEPSS 4.6%CVE-2023-5685HIGHXnio: stackoverflowexception when the chain of notifier states becomes problematically bigEPSS 3.5%CVE-2024-3656HIGHKeycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalitiesEPSS 3.3%CVE-2024-5971HIGHUndertow: response write hangs in case of java 17 tlsv1.3 newsessionticketEPSS 2.9%CVE-2024-7885HIGHUndertow: improper state management in proxy protocol parsing causes information leakageEPSS 2.6%CVE-2024-8883MEDIUMKeycloak: vulnerable redirect uri validation results in open redirecEPSS 2.1%
References
https://access.redhat.com/errata/RHSA-2025:15336https://access.redhat.com/errata/RHSA-2025:15337https://access.redhat.com/errata/RHSA-2025:15338https://access.redhat.com/errata/RHSA-2025:15339https://access.redhat.com/security/cve/CVE-2025-8419https://bugzilla.redhat.com/show_bug.cgi?id=2385776