Description
A vulnerability was found in Keycloak-services. 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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Keycloak | keycloak | < 26.3.3 | 26.3.3 |
| Red Hat | Red Hat build of Keycloak 26.0 | — | — |
| Red Hat | Red Hat build of Keycloak 26.2 | — | — |
| Red Hat | Red Hat Build of Keycloak | — | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 26.2.8 | 26.2.8 | GHSA-m4j5-5x4r-2xp9 |
| Maven | org.keycloak:keycloak-services | >= 26.3.0, < 26.3.3 | 26.3.3 | GHSA-m4j5-5x4r-2xp9 |
Advisories 1
- WID-SEC-2025-1739 Keycloak: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Sep 3, 2025
References
- RHSA-2025:15336 vendor-advisory
- RHSA-2025:15337 vendor-advisory
- RHSA-2025:15338 vendor-advisory
- RHSA-2025:15339 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-8419 vdb-entry
- RHBZ#2385776 issue-tracking