Improper Validation of Certificate with Host Mismatch Affecting apache/thrift package, versions [,0.24.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-APACHETHRIFT-18390091
  • published29 Jul 2026
  • disclosed27 Jul 2026
  • creditUnknown

Introduced: 27 Jul 2026

CVE-2026-48145  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade apache/thrift to version 0.24.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch via the matchName function in the C++ TSSLSocket implementation, which fails to properly validate hostnames against SSL/TLS certificates according to RFC 6125. An attacker can bypass hostname verification by exploiting wildcard handling in certificate validation, potentially enabling man-in-the-middle attacks.

CVSS Base Scores

version 4.0
version 3.1