Improper Certificate Validation Affecting thrift package, versions [0.22.0,0.25.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (11th 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-PYTHON-THRIFT-20571520
  • published8 Oct 2026
  • disclosed2 Oct 2026
  • creditUnknown

Introduced: 2 Oct 2026

NewCVE-2026-85087  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade thrift to version 0.25.0 or higher.

Overview

thrift is a Python bindings package for Apache Thrift.

Affected versions of this package are vulnerable to Improper Certificate Validation in the host name check, which stops taking effect on Python 3.12 and later and reports success rather than signalling that no check was performed. An attacker in a MitM position can present a certificate issued for a different host and have the connection accepted, reading and modifying the traffic. This requires network position between the client and the server, and the client must hold the serving certificate's issuer as trusted, since only the name binding goes unverified.

CVSS Base Scores

version 4.0
version 3.1