CVE-2026-107121

Keycloak-services: keycloak-services: smtp starttls plaintext credential and message downgrade

Published Oct 7, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak: cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
First Time appeared Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-319

    Cleartext Transmission of Sensitive Information

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 5:34 PM
Reserved
Oct 7, 2026, 7:26 AM
Status
Awaiting Analysis
Published
Oct 7, 2026, 8:16 AM
Modified
Nov 6, 2026, 6:17 PM
Severity
Moderate
Public date
Oct 6, 2026, 4:28 PM