Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-8419 EUVD-2025-23863GHSA-m4j5-5x4r-2xp9GHSA-qj5r-2r5p-phc7

Org.keycloak/keycloak-services: keycloak smtp inject vulnerability

Published Aug 6, 2025 · Updated Aug 31, 2026 · Assigned by redhat

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

VendorProductAffectedFixed
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

EcosystemPackageAffectedFixedRecord
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

References