Description
Improper Validation of Certificate with Host Mismatch vulnerability in Apache Thrift Python bindings.

This issue affects Apache Thrift: before 0.24.0.

Users are recommended to upgrade to version 0.24.0, which fixes the issue.

This replaces CVE-2026-41603
Published: 2026-07-27
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache Thrift's Python TSSLSocket contains a flaw where the hostname matcher is imported incorrectly, resulting in improper validation of certificates that do not match the intended host. This weakness, identified as CWE-297, means an attacker could potentially present a certificate issued for a different host and still be trusted by client applications, thereby undermining the authenticity of the TLS handshake and enabling man‑in‑the‑middle attacks or impersonation.

Affected Systems

The issue affects Apache Thrift 0.23.0 and earlier versions of the Python bindings shipped by the Apache Software Foundation. Users running these earlier releases are exposed to the vulnerability until they upgrade to a fixed release.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, and the EPSS score is < 1%, indicating a low likelihood of exploitation. Based on the description, it is inferred that the likely attack vector is over the network when an attacker initiates a TLS connection to a client using the affected bindings; the compromised hostname validation could be combined with a forged certificate matching any domain to bypass authentication. Though the vulnerability is not listed in CISA's KEV catalog, it remains a significant concern for deployments that rely on strict TLS host verification.

Generated by OpenCVE AI on August 3, 2026 at 17:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Thrift to version 0.24.0 or later to receive the fix for the hostname validation bug.
  • Reconfigure any custom TLS usage to explicitly enable hostname verification, ensuring that the client rejects certificates whose hostnames do not match the intended server.
  • Monitor TLS handshake logs for warnings or errors that may indicate certificate validation failures or attempts to connect to unauthorized hosts.

Generated by OpenCVE AI on August 3, 2026 at 17:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 27 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache thrift
Vendors & Products Apache
Apache thrift

Mon, 27 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 27 Jul 2026 11:30:00 +0000

Type Values Removed Values Added
Description Improper Validation of Certificate with Host Mismatch vulnerability in Apache Thrift Python bindings. This issue affects Apache Thrift: before 0.24.0. Users are recommended to upgrade to version 0.24.0, which fixes the issue. This replaces CVE-2026-41603
Title Apache Thrift: Python TSSLSocket Hostname Matcher Import
Weaknesses CWE-297
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-27T13:08:21.318Z

Reserved: 2026-07-23T20:49:51.666Z

Link: CVE-2026-66053

cve-icon Vulnrichment

Updated: 2026-07-27T13:08:17.515Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-27T12:16:55.027

Modified: 2026-07-27T19:52:47.110

Link: CVE-2026-66053

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-27T11:18:49Z

Links: CVE-2026-66053 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T18:00:11Z

Weaknesses
  • CWE-295

    Improper Certificate Validation

  • CWE-297

    Improper Validation of Certificate with Host Mismatch