Read the docs
TI-2025-07705 Aliases CVE-2025-8419GHSA-m4j5-5x4r-2xp9

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

Priority LOW 31CWE-93Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 2 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

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 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00616 49th percentileScored 2026-11-07
Fix Partial keycloak (Keycloak): 26.3.3org.keycloak:keycloak-services (Maven): 26.2.8, 26.3.3Red Hat: 4 advisoriesRed Hat: 2 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Keycloakkeycloakbefore 26.3.326.3.3Patch availableCNA
Red HatRed Hat build of Keycloak 26.0——Not affectedCNA
Red HatRed Hat build of Keycloak 26.0—26.0.15-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.0—26.0-18Patch availableCNA
Red HatRed Hat build of Keycloak 26.0—26.0-19Patch availableCNA
Red HatRed Hat build of Keycloak 26.2——Not affectedCNA
Red HatRed Hat build of Keycloak 26.2—26.2.8-1Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-8Patch availableCNA
Red HatRed Hat build of Keycloak 26.2—26.2-8Patch availableCNA
Red HatRed Hat Build of Keycloak——No fix listedCNA
—org.keycloak:keycloak-services (Maven)before 26.2.826.2.8Patch availableGHSA-m4j5-5x4r-2xp9
—org.keycloak:keycloak-services (Maven)26.3.0 to before 26.3.326.3.3Patch availableGHSA-m4j5-5x4r-2xp9
  • keycloak VendorKeycloak Affected before 26.3.3 Fixed in 26.3.3 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0.15-1 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-18 Patch available CNA
  • Red Hat build of Keycloak 26.0 VendorRed Hat Affected — Fixed in 26.0-19 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2.8-1 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-8 Patch available CNA
  • Red Hat build of Keycloak 26.2 VendorRed Hat Affected — Fixed in 26.2-8 Patch available CNA
  • Red Hat Build of Keycloak VendorRed Hat Affected — Fixed in — No fix listed CNA
  • org.keycloak:keycloak-services (Maven) Vendor— Affected before 26.2.8 Fixed in 26.2.8 Patch available GHSA-m4j5-5x4r-2xp9
  • org.keycloak:keycloak-services (Maven) Vendor— Affected 26.3.0 to before 26.3.3 Fixed in 26.3.3 Patch available GHSA-m4j5-5x4r-2xp9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*not specified by NVDVulnerableRed Hat
  • cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Red Hat

Remediation

  • Fix · CNA keycloak (Keycloak) Fixed in 26.3.3
  • Fix · GHSA-m4j5-5x4r-2xp9 org.keycloak:keycloak-services (Maven) Fixed in 26.2.8 Advisory →
  • Fix · GHSA-m4j5-5x4r-2xp9 org.keycloak:keycloak-services (Maven) Fixed in 26.3.3 Advisory →

Red Hat 4 advisories

  • RHSA-2025:15337 Released 2025-09-04 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.0.15 Images Update
    • Red Hat build of Keycloak 26.0 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2025:15338 Released 2025-09-04 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.2.8 Images Security Update
    • Red Hat build of Keycloak 26.2 rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator
  • RHSA-2025:15339 Released 2025-09-04 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.2.8 Security Update
    • Red Hat build of Keycloak 26.2
Show 1 more Red Hat advisories
  • RHSA-2025:15336 Released 2025-09-04 · Red Hat rating Moderate
    Red Hat build of Keycloak 26.0.15 Update
    • Red Hat build of Keycloak 26.0

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of KeycloakAffectedNo fix planned: Will not fix
Red Hat build of Keycloak 26.0Fixed RHSA-2025:15336, RHSA-2025:15337
Red Hat build of Keycloak 26.2Fixed RHSA-2025:15338, RHSA-2025:15339

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-8419
  2. 2026-10-03 Alias added: GHSA-m4j5-5x4r-2xp9

References

  • TI-2022-03994 Cross-site scripting in keycloak CVSS 3.1CRITICAL 10.0
  • TI-2017-05120 It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens… CVSS 3.0CRITICAL 9.8
  • TI-2017-08952 Weak password recovery in Red Hat Keycloak CVSS 3.0HIGH 8.8
  • TI-2014-03024 The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak… CVSS 3.0HIGH 8.8
  • TI-2026-01295 Org.keycloak/keycloak-quarkus-server: keycloak: unauthorized access via jwt authorization grant with disabled users CVSS 3.1HIGH 8.1
  • TI-2017-08950 Insufficient session expiration in Red Hat keycloak CVSS 3.0HIGH 7.5
See all 21 →

Sources