CVE-2025-8419 MEDIUM

CVE-2025-8419: Org.keycloak/keycloak-services: keycloak smtp inject vulnerability

Vendor Keycloak
Product keycloak
Weakness CWE-93 · CRLF injection
Published August 6, 2025
Last update January 8, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 6, 2025 CVE published
January 8, 2026 Record updated