---
id: CVE-2025-8419
title: A vulnerability was found in Keycloak-services
summary: >-
  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 …
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-93
vendor: redhat
product: keycloak
affected:
  - keycloak
published: '2025-08-06'
updated: '2026-08-08'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-8419'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2025:15336'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:15337'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:15338'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2025:15339'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2025-8419'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2385776'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00414
epssPercentile: 0.33084
ingestedAt: '2026-08-08T18:24:06.984Z'
---

## Overview

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

- `keycloak`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
