NetSight
medium5.3

CVE-2025-8419

Keycloak SMTP Inject Vulnerability

Impact

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

EcosystemPackageAffectedFixed in
mavenorg.keycloak:keycloak-services< 26.2.826.2.8

Affected products

VendorProductAffected versions
RedhatKeycloak
All versions

Weakness classification

References