CVE-2025-8419
MEDIUM 5.3CVSS 3.1Org.keycloak/keycloak-services: keycloak smtp inject vulnerability
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.
- Published
- 6 Aug 2025
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-93
- Also known as
- GHSA-m4j5-5x4r-2xp9
- Sources
- NVDJSONCVE ListJSONOSV GHSA-m4j5-5x4r-2xp9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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) | 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 |
| CVE List | 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 |
| OSV | GitHub | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | keycloakcpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* |
(no version) | |
| CVE List | https://github.com/keycloak/keycloak | keycloak | < 26.3.3 | 26.3.3 |
| CVE List | Red Hat | Red Hat build of Keycloak 26.0cpe:/a:redhat:build_keycloak:26.0 |
||
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-operator-bundlecpe:/a:redhat:build_keycloak:26.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9cpe:/a:redhat:build_keycloak:26.0::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9-operatorcpe:/a:redhat:build_keycloak:26.0::el9 |
all versions | |
| CVE List | Red Hat | Red Hat build of Keycloak 26.2cpe:/a:redhat:build_keycloak:26.2 |
||
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-operator-bundlecpe:/a:redhat:build_keycloak:26.2::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9cpe:/a:redhat:build_keycloak:26.2::el9 |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | rhbk/keycloak-rhel9-operatorcpe:/a:redhat:build_keycloak:26.2::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | keycloak-servicescpe:/a:redhat:build_keycloak: |
all versions | |
| OSV | Maven | org.keycloak:keycloak-services | < 26.2.8 | 26.2.8 |
| OSV | Maven | org.keycloak:keycloak-services | >= 26.3.0, < 26.3.3 | 26.3.3 |
References
- https://access.redhat.com/errata/RHSA-2025:15336 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2025:15337 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2025:15338 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/errata/RHSA-2025:15339 · vendor-advisory, x_refsource_REDHAT, WEB
- https://access.redhat.com/security/cve/CVE-2025-8419 · Vendor Advisory, vdb-entry, x_refsource_REDHAT, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2385776 · Issue Tracking, Vendor Advisory, issue-tracking, x_refsource_REDHAT, WEB
- https://github.com/keycloak/keycloak/security/advisories/GHSA-m4j5-5x4r-2xp9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8419 · ADVISORY
- https://github.com/keycloak/keycloak · PACKAGE
History
- 26 Nov 2026 21:17 UTC · CVE List: first stored (published 6 Aug 2025)
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 6 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Sep 2025)