CVE-2026-66053
Apache Thrift vulnerability analysis and mitigation

Overview

CVE-2026-66053 is an Improper Validation of Certificate with Host Mismatch vulnerability in the Apache Thrift Python bindings (CWE-297/CWE-295). It affects all versions of Apache Thrift before 0.24.0 and was publicly disclosed on July 24, 2026, with NVD publication on July 27, 2026. This CVE replaces the earlier CVE-2026-41603. It carries a CVSS v3.1 base score of 5.9 (Medium) (Apache Advisory, GitHub Advisory).

Technical details

The vulnerability stems from the Apache Thrift Python bindings (specifically the TSSLSocket component) failing to properly validate that a presented TLS/SSL certificate matches the hostname of the server being connected to (CWE-297: Improper Validation of Certificate with Host Mismatch; CWE-295: Improper Certificate Validation). This means a valid certificate issued for a different hostname is accepted without error, bypassing the hostname verification step that is critical to TLS security. An attacker positioned on the network between a Thrift Python client and server can exploit this by presenting a certificate for a domain they control, enabling a man-in-the-middle (MitM) attack. No authentication or user interaction is required, though the attack complexity is rated High due to the need for a network-adjacent or on-path position (GitHub Advisory, Red Hat Bugzilla).

Impact

Successful exploitation allows an unauthenticated attacker in a man-in-the-middle position to intercept and read encrypted communications between Apache Thrift Python clients and servers. The primary impact is a high confidentiality loss — sensitive data transmitted over what is assumed to be a secure TLS channel can be exposed to the attacker. There is no direct integrity or availability impact, but intercepted data could include credentials, session tokens, or business-sensitive information that could enable further attacks (GitHub Advisory, Red Hat Bugzilla).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Apache Advisory). The NVD SSVC assessment confirms exploitation is currently "none" and the attack is not automatable. The EPSS score is approximately 0.305% (23rd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify network environments where Apache Thrift Python clients communicate with Thrift servers over TLS, targeting versions before 0.24.0. Tools like network scanners or application fingerprinting can help identify Thrift service endpoints.
  2. Establish on-path position: Position the attacker between the Thrift Python client and the legitimate Thrift server using ARP spoofing, DNS poisoning, BGP hijacking, or rogue Wi-Fi access points.
  3. Obtain a valid TLS certificate: Acquire a valid TLS certificate for any domain (e.g., attacker-controlled domain), since the vulnerable Python bindings do not verify that the certificate's Common Name or Subject Alternative Names match the target hostname.
  4. Intercept and proxy the connection: Stand up a rogue Thrift server presenting the attacker's certificate. The vulnerable client will accept the certificate without hostname validation failure and establish a TLS session with the attacker's server.
  5. Decrypt and relay traffic: Decrypt the intercepted Thrift protocol traffic to read sensitive data, then optionally relay requests to the legitimate server to avoid detection (GitHub Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Network: Unexpected TLS handshakes where the server certificate's CN or SAN does not match the intended Thrift server hostname; TLS sessions established with certificates issued by unknown or untrusted CAs on Thrift service ports.
  • Network: Unusual intermediate hosts or IP addresses appearing in network flows between Thrift clients and servers; ARP table anomalies indicating potential ARP spoofing on the local network segment.
  • Logs: Thrift client application logs showing successful TLS connections to unexpected IP addresses or hosts; absence of certificate validation errors where mismatches would be expected if validation were functioning correctly.
  • Process/Application: Thrift Python client processes communicating with endpoints not matching configured server hostnames, observable via network monitoring or application-level logging.

Mitigation and workarounds

The primary remediation is to upgrade Apache Thrift to version 0.24.0 or later, which restores proper certificate hostname validation in the Python bindings (Apache Advisory, GitHub Advisory). IBM has also addressed this in IBM Process Mining via an interim fix released in July 2026. As a short-term workaround where upgrading is not immediately possible, organizations should restrict Thrift Python client traffic to trusted, isolated network segments to reduce MitM exposure, and implement network-level TLS inspection or certificate pinning where feasible.

Community reactions

Red Hat has tracked this vulnerability via Bugzilla (Bug 2507445) and published a security advisory, classifying it as medium severity (Red Hat Bugzilla). IBM addressed the vulnerability in its Process Mining product through an interim fix in July 2026. Microsoft also published a security guidance entry for this CVE. The vulnerability was noted in the OSS-Security mailing list shortly after disclosure, and Debian has packaged the fixed version (thrift 0.24.0-1) for its repositories.

Additional resources


SourceThis report was generated using AI

Related Apache Thrift vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-55971CRITICAL9.3
  • Apache Thrift logoApache Thrift
  • cpe:2.3:a:apache:thrift
NoYesJul 27, 2026
CVE-2026-58662HIGH8.7
  • Apache Thrift logoApache Thrift
  • thrift
NoYesJul 27, 2026
CVE-2026-58389HIGH8.7
  • Apache Thrift logoApache Thrift
  • thrift
NoYesJul 27, 2026
CVE-2026-58023MEDIUM6.9
  • Apache Thrift logoApache Thrift
  • thrift
NoYesJul 27, 2026
CVE-2026-66053MEDIUM5.9
  • Apache Thrift logoApache Thrift
  • python-thrift
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management