CVE-2026-48145

Description

A flaw was found in Apache Thrift C++ bindings. This vulnerability, caused by improper validation of certificates with host mismatch, could allow a remote attacker to disclose sensitive information.

Statement

This vulnerability strictly impacts Confidentiality with zero effect on Integrity or Availability (C:H, I:N, A:N). Exploitation allows a remote attacker to conduct a man-in-the-middle (MitM) attack and intercept sensitive data transmitted over TLS if hostname validation fails. Red Hat rates this flaw with High Attack Complexity (AC:H) in contrast to NVD's Low Attack Complexity because successful exploitation requires specific, non-default network positioning to intercept traffic alongside a valid TLS certificate that triggers the host mismatch condition. Applications that do not use Apache Thrift C++ bindings for SSL/TLS encrypted client connections, or those operating exclusively over trusted private networks, are unaffected.

Mitigation

To mitigate this issue, restrict network access to systems utilizing Apache Thrift C++ bindings for SSL/TLS encrypted client connections to trusted private networks only. If feasible, avoid using Apache Thrift C++ bindings for SSL/TLS encrypted client connections in environments where man-in-the-middle attacks are a concern.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.97.5N/A
Attack VectorNetworkNetworkN/A
Attack ComplexityHighLowN/A
Privileges RequiredNoneNoneN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityHighHighN/A
Integrity ImpactNoneNoneN/A
Availability ImpactNoneNoneN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Red Hat CVSS v3 Score Explanation

Difference between Red Hat and NVD: Attack Complexity (AC) Red Hat treats certificate validation flaws as requiring specific network positioning that an attacker cannot guarantee on demand. The need for a MitM position as a prerequisite that raises Attack Complexity to High.

Understanding the Weakness (CWE)

Access Control

Technical Impact: Gain Privileges or Assume Identity

The data read from the system vouched for by the certificate may not be from the expected system.

Authentication,Other

Technical Impact: Other

Trust afforded to the system in question - based on the malicious certificate - may allow for spoofing or redirection attacks.

Access Control,Other

Technical Impact: Gain Privileges or Assume Identity; Other

If the certificate's host-specific data is not properly checked - such as the Common Name (CN) in the Subject or the Subject Alternative Name (SAN) extension of an X.509 certificate - it may be possible for a redirection or spoofing attack to allow a malicious host with a valid certificate to provide data, impersonating a trusted host.

Frequently Asked Questions

Want to get errata notifications? Sign up here.