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

This issue affects Apache Thrift: before 0.24.0.

Users are recommended to upgrade to version 0.24.0, which fixes the issue.
Published: 2026-07-27
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability, identified as CWE‑297: Improper Validation of Certificate with Host Mismatch, is an improper validation of TLS certificates in Apache Thrift C++ bindings. Specifically, the TSSLSocket matchName() routine does not correctly enforce RFC 6125 host name matching rules, allowing a wildcard certificate that does not correspond to the intended host to be accepted. This flaw enables an attacker to present a forged certificate that matches a different hostname yet satisfies the client’s verification logic, effectively permitting man‑in‑the‑middle attacks and impersonation of legitimate servers. The primary impact is the loss of context authentication and potential exposure of sensitive data transmitted over the TLS connection.

Affected Systems

Apache Thrift C++ bindings are affected, with all releases before version 0.24.0 vulnerable.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. The EPSS score of < 1% suggests that the likelihood of exploitation is very low but not zero. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector involves an attacker presenting a forged TLS certificate that matches a different hostname yet satisfies the client’s validation logic, allowing a man‑in‑the‑middle to intercept or tamper with traffic over an untrusted network. Once the client accepts the certificate, the attacker can access confidential data or alter communication, compromising confidentiality and integrity.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the Apache Thrift 0.24.0 release or later to receive the fixed certificate name validation logic,
  • If an upgrade cannot be performed immediately, restrict connections to known and trusted hosts with IP filtering or firewall rules to limit exposure to unverified TLS handshakes.
  • Configure any available client‑side strict hostname checking options or disable wildcard certificate acceptance if the Thrift client supports such settings to mitigate the bypass until a patch is applied.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 08 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

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

threat_severity

Moderate


Mon, 27 Jul 2026 13: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 12:45:00 +0000

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

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 C++ bindings. This issue affects Apache Thrift: before 0.24.0. Users are recommended to upgrade to version 0.24.0, which fixes the issue.
Title Apache Thrift: C++ TSSLSocket matchName() RFC 6125 Wildcard Bypass
Weaknesses CWE-297
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-27T13:03:08.355Z

Reserved: 2026-05-20T22:45:26.457Z

Link: CVE-2026-48145

cve-icon Vulnrichment

Updated: 2026-07-27T11:07:32.871Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-07-27T19:49:14.997

Link: CVE-2026-48145

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-27T10:59:46Z

Links: CVE-2026-48145 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch