CVE-2025-8419: Red Hat build of Keycloak 26.0 · CRLF Injection
Affects Red Hat build of Keycloak 26.0Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
To mitigate CVE-2025-8419, organizations should first monitor Red Hat and Keycloak advisories for official patches and apply them promptly once available. In the interim, implement strict input validation and sanitization on email registration fields to neutralize CRLF sequences and other special characters that could be used for injection. Employ application-layer firewalls or email gateways to detect and block anomalous outbound emails originating from Keycloak servers. Restrict the ability of Keycloak to send emails to only trusted SMTP servers with proper authentication and logging enabled. Conduct regular audits of email logs to identify unusual patterns or volumes of outgoing mail. Consider deploying rate limiting on email sending functions to reduce the impact of automated abuse. Additionally, educate users and administrators about this vulnerability and encourage vigilance against phishing attempts that may leverage this flaw. Finally, isolate Keycloak instances in segmented network zones to limit potential lateral movement if exploitation occurs.
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.
References
- access.redhat.com/errata/RHSA-2025:15336 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15337 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15338 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:15339 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-8419 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2385776 (opens in a new tab)