Org.keycloak/keycloak-services: keycloak smtp inject vulnerability (Keycloak keycloak)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.57 % · percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-93 — Improper Neutralization of CRLF Sequences
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD · nvd@nist.gov (Secondary) |
Advisories
- GHSA-m4j5-5x4r-2xp9 — Keycloak SMTP Inject Vulnerability
European references
- ENISA EUVD · EUVD-2025-23863
- GCVE · GCVE-0-2025-8419
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Keycloak · keycloak | affected 0 < 26.3.3 |
| Red Hat · Red Hat build of Keycloak 26.0 | |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0.15-1 < * |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0-18 < * |
| Red Hat · Red Hat build of Keycloak 26.0 | unaffected 26.0-19 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2.8-1 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-8 < * |
| Red Hat · Red Hat build of Keycloak 26.2 | unaffected 26.2-8 < * |
| Red Hat · Red Hat Build of Keycloak |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |