Medium severity · published Aug 6, 2025
CVE-2025-8419
Org.keycloak/keycloak-services: keycloak smtp inject vulnerability
5.3
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Build of Keycloak · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 26.0 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 26.2 · Red Hat
All versions, or not specified · source: vendor
KE
keycloak · Keycloak
before 26.3.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-8419
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-8419
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15336
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15337
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15338
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:15339
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2025-8419
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2385776
More from keycloak
8.8
CVE-2017-12161
It was found that keycloak before 3.4.2 final would permit misuse of a client-side /etc/hosts entry to spoof a URL in a password reset request
8.8
CVE-2014-3709
The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote attackers to conduct cross-site request forgery (CSRF)…
8.1
CVE-2026-1609
Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users
7.5
CVE-2014-3651
JBoss KeyCloak before 1.0.3.Final allows remote attackers to cause a denial of service (resource consumption) via a large value in the size parameter to auth/qrcode, related to QR…
7.5
CVE-2017-12159
It was found that the cookie used for CSRF prevention in Keycloak was not unique to each session
