Description
A flaw was found in the SMTP email configuration handling of the keycloak-services component. When the STARTTLS option is enabled, Keycloak fails to strictly enforce an encrypted connection, allowing it to fall back to unencrypted communication if the encryption request is tampered with. An attacker who can intercept network traffic can exploit this to capture sensitive email credentials and message content in plain text.
Published: 2026-10-07
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Assess Impact
AI Analysis

Impact

The flaw lies in the SMTP configuration handling of the Keycloak services component. When STARTTLS is enabled, Keycloak does not strictly enforce an encrypted connection and can fall back to cleartext if the encryption request is tampered with. This behavior, identified as CWE‑319, permits attackers who intercept network traffic to capture email credentials and message content in plain text, resulting in a loss of confidentiality.

Affected Systems

Red Hat Build of Keycloak and Red Hat Single Sign‑On 7 are affected. The keycloak‑services component within these products processes SMTP settings, and the vulnerability exists in all current builds of these identifiers. Specific version ranges are not provided in the advisory, so any running instance that utilizes the default keycloak‑services SMTP configuration with STARTTLS enabled should be considered at risk.

Risk and Exploitability

The CVSS score of 6.5 indicates a medium severity vulnerability. EPSS data is unavailable, and the issue is not listed in the CISA KEV catalog. The likely attack vector is a network‑level attacker capable of modifying or observing SMTP commands. Without an official patch or workaround, the risk remains moderate; best‑practice controls can reduce exposure but will not eliminate the underlying design flaw.

Generated by OpenCVE AI on October 7, 2026 at 09:23 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Reconfigure Keycloak’s SMTP settings to use SSL/TLS instead of STARTTLS, ensuring that all connections are encrypted by default.
  • Block use of the STARTTLS command through firewall or network policy, and verify that the application rejects any attempts at unencrypted traffic.
  • Monitor Keycloak logs and outbound SMTP traffic for signs of unencrypted sessions, and re‑apply the configuration after each restart or update.

Generated by OpenCVE AI on October 7, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 07 Oct 2026 08:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in the SMTP email configuration handling of the keycloak-services component. When the STARTTLS option is enabled, Keycloak fails to strictly enforce an encrypted connection, allowing it to fall back to unencrypted communication if the encryption request is tampered with. An attacker who can intercept network traffic can exploit this to capture sensitive email credentials and message content in plain text.
Title Keycloak-services: keycloak-services: smtp starttls plaintext credential and message downgrade
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-319
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}


Subscriptions

Redhat Build Keycloak Red Hat Single Sign On
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-07T07:42:04.193Z

Reserved: 2026-10-07T07:26:34.554Z

Link: CVE-2026-107121

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-07T08:16:57.053

Modified: 2026-10-07T14:47:21.140

Link: CVE-2026-107121

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T16:28:37Z

Links: CVE-2026-107121 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T09:30:14Z

Weaknesses
  • CWE-319

    Cleartext Transmission of Sensitive Information