GitHub Advisoryadvisory · Maven
GHSA-m4j5-5x4r-2xp9 Keycloak SMTP Inject Vulnerability
MEDIUM
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
- https://github.com/keycloak/keycloak/security/advisories/GHSA-m4j5-5x4r-2xp9 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-8419 advisory
- https://access.redhat.com/errata/RHSA-2025:15336 web
- https://access.redhat.com/errata/RHSA-2025:15337 web
- https://access.redhat.com/errata/RHSA-2025:15338 web
- https://access.redhat.com/errata/RHSA-2025:15339 web
- https://access.redhat.com/security/cve/CVE-2025-8419 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2385776 web
- https://github.com/keycloak/keycloak package