5.3Medium

CVE-2025-8419Org.keycloak/keycloak-services: keycloak smtp inject vulnerability

Keycloak keycloak; 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 Published: (1 year ago)

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.

Weakness (CWE): CWE-93

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
build keycloak 26.0 —
build keycloak 26.2 —
Keycloak keycloak < 26.3.3
redhat keycloak —
Red Hat Red Hat Build of Keycloak all versions
Red Hat Red Hat build of Keycloak 26.0 all versions
Red Hat Red Hat build of Keycloak 26.2 all versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*