NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-8419: Keycloak SMTP Inject Vulnerability

mediumCVSS 3.1 5.3GHSA-m4j5-5x4r-2xp9

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.

Published Sep 17, 2025

Affected packages

org.keycloak:keycloak-services

Ecosystem
Maven
Affected
< 26.2.8
Fixed in
26.2.8
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services

org.keycloak:keycloak-services

Ecosystem
Maven
Affected
>= 26.3.0, < 26.3.3
Fixed in
26.3.3
Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-services

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries