Skip to main content

Keycloak EUVDEUVD-2026-94213

| CVE-2026-107121 MEDIUM
Cleartext Transmission of Sensitive Information (CWE-319)
2026-10-07 redhat GHSA-4276-jw29-xwhr
6.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain man-in-the-middle position on SMTP path
  2. Exploit
    Tamper with STARTTLS upgrade request
  3. Execution
    Force fallback to cleartext connection
  4. Impact
    Capture SMTP credentials and email content in plaintext

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

Exploitation requires that Keycloak's SMTP email configuration has the STARTTLS option enabled (opportunistic TLS) rather than enforced implicit TLS, and that the attacker can actively intercept and modify traffic on the network path between the Keycloak server and its SMTP mail server. Because Keycloak does not strictly enforce the encrypted upgrade, a tampered STARTTLS negotiation silently downgrades to cleartext. Limiting factors: the attacker must already hold a man-in-the-middle position (reflected in CVSS AC:H), exploitation only affects deployments that send mail via STARTTLS-mode SMTP, and impact is confined to disclosure of SMTP credentials and email content - no Keycloak authentication or user interaction is required (PR:N/UI:N).

Impact

This is a genuine but conditional confidentiality issue rather than a drop-everything priority. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N, base 6.5) is internally consistent with the description: AV:N because the attack targets network traffic, AC:H because the attacker must occupy a privileged man-in-the-middle position and actively tamper with the STARTTLS negotiation, and PR:N because no Keycloak authentication is needed. The high confidentiality impact reflects exposure of SMTP credentials and email contents, while I:L maps to the attacker's manipulation of the encryption-upgrade request. No EPSS score, CISA KEV entry, POC, or SSVC decision data was supplied; exploitation status is therefore 'no public exploit identified at time of analysis'. The absence of KEV/EPSS signals, combined with the AC:H man-in-the-middle prerequisite, indicates this is a classic STARTTLS-stripping (CWE-319) weakness that is real but not mass-exploitable - it favors targeted, network-adjacent adversaries over opportunistic attackers. Note the dependency: exploitation requires the SMTP server to be reachable by the attacker's interception point and STARTTLS to be the configured (rather than implicit/forced-TLS) mode. No conflicting signals were found between the CVSS vector and the description.

Exploit ScenarioDerived

An attacker positioned on the network path between a Keycloak server and its configured SMTP mail server intercepts the outbound connection and strips or tampers with the STARTTLS upgrade so the session falls back to cleartext. Keycloak proceeds to transmit SMTP authentication credentials and email message content unencrypted, which the attacker captures. No public exploit code was identified, but STARTTLS-stripping is a well-understood technique and the high AC reflects the need for an active MITM position.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Keycloak's SMTP email configuration can silently fall back to unencrypted communication when STARTTLS is enabled, allowing an attacker who can intercept and tamper with traffic between the Keycloak server and its mail relay to capture SMTP credentials and email message content in cleartext. Affected deployments include Red Hat Build of Keycloak and Red Hat Single Sign-On 7 (CVSS 6.5, AV:N/AC:H/PR:N/UI:N), but exploitation is conditional: it requires a man-in-the-middle position on the SMTP path and an instance configured for opportunistic STARTTLS rather than implicit TLS. No public exploit code or confirmed active exploitation has been identified at time of analysis.

RemediationAI

No vendor-released patch or fixed version is identified in the available data at time of analysis; monitor https://access.redhat.com/security/cve/CVE-2026-107121 and https://bugzilla.redhat.com/show_bug.cgi?id=2547296 for Red Hat errata covering Red Hat Build of Keycloak and Red Hat Single Sign-On 7. Until a fix is published, the most effective mitigation is to stop relying on opportunistic STARTTLS: in the realm's Email settings, disable STARTTLS and enable implicit TLS/SSL (SMTPS, typically port 465) so the TLS session is established before any SMTP dialogue can be tampered with; the trade-off is that the mail relay must support SMTPS and firewall/NAT rules may need updating on the new port. If STARTTLS must be retained, force the mail path through a trusted channel - for example, send email through a local relay on the same host or a dedicated relay reachable over an IPsec/VPN tunnel or a private segment - and configure the relay to require STARTTLS and validate its certificate, accepting the added operational overhead of tunnel or relay management. Additional compensating controls include pinning or strictly validating the mail server certificate where the email client configuration permits, restricting outbound SMTP to only the known relay IP so an attacker cannot redirect the connection, and monitoring mail relay logs for cleartext or downgraded STARTTLS sessions; none of these substitute for the missing fail-closed behavior, so privilege restrictions on the SMTP credentials used by Keycloak (send-only, no mailbox access, unique password that can be rotated) reduce the blast radius if disclosure occurs.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the keycloak-services component that handles outbound email, and its root cause class is CWE-319 (Cleartext Transmission of Sensitive Information). SMTP STARTTLS is an opportunistic upgrade: the client issues the STARTTLS command and waits for the server's '220 Ready to start TLS' response before negotiating the TLS handshake. If an in-path attacker strips, rewrites, or blocks that response (or the STARTTLS capability advertisement), a client that does not fail closed simply continues the session in plaintext without surfacing an error. Keycloak's email handling is the affected implementation, meaning credentials supplied in the SMTP configuration and the bodies/headers of notifications it sends can be exposed. The CPE data identifies the scope as Red Hat Build of Keycloak and Red Hat Single Sign-On 7, both using wildcard version ranges, so no single fixed version boundary is documented in the supplied data. The assessed CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N maps cleanly to this behavior: the attacker is a remote, unauthenticated network adversary needing a pre-existing MITM position (AC:H) and no user interaction (UI:N), obtaining high confidentiality impact (SMTP credentials and email contents) with limited integrity impact (the attacker can also alter or suppress messages in the downgraded session).

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable SMTP traffic (AV:N) but requires an active man-in-the-middle position and STARTTLS tampering (AC:H); no auth needed (PR:N); credential/content disclosure drives C:H with minor I:L and no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
High
Widely deployed enterprise IAM (Red Hat Keycloak / RH-SSO)
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy