GitHub Advisoryadvisory · Maven

GHSA-m4j5-5x4r-2xp9 Keycloak SMTP Inject Vulnerability

MEDIUM Published 2025-09-17 Modified 2025-09-17 Official page ↗
Aliases
CVE-2025-8419
Ecosystem
Maven
Packages
org.keycloak:keycloak-services
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-93
Reviewed
2025-09-17

Affected packages

• Maven org.keycloak:keycloak-services: < 26.2.8 → fixed in 26.2.8 • Maven org.keycloak:keycloak-services: >= 26.3.0, < 26.3.3 → fixed in 26.3.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-8419 A vulnerability was found in Keycloak-services. vulnerability

Weakness · CWE (1)

  • CWE-93 Improper Neutralization of CRLF Sequences weakness

References