ADVISORIES

GitHub Advisory Database

GHSA-m4j5-5x4r-2xp9

Keycloak SMTP Inject Vulnerability

Moderate CVE-2025-8419

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 26.2.8 (fixed in 26.2.8)
Mavenorg.keycloak:keycloak-services
From 26.3.0 before 26.3.3 (fixed in 26.3.3)

References