---
id: CVE-2026-66053
aliases:
  - GHSA-hwrj-9rr4-24xh
  - BIT-thrift-2026-66053
  - PYSEC-2026-3927
title: >-
  Apache Thrift Python bindings have a Improper Validation of Certificate with
  Host Mismatch vulnerabilit
summary: >-
  Apache Thrift Python bindings have a Improper Validation of Certificate with
  Host Mismatch vulnerabilit
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: thrift
product: thrift
ecosystem: pip
affected:
  - thrift < 0.24.0
patched:
  - thrift 0.24.0
published: '2026-07-27'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T12:25:30.411379998Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hwrj-9rr4-24xh'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66053'
  - url: 'https://github.com/apache/thrift'
  - url: 'https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9'
  - url: 'https://lists.apache.org/thread/w4k5dnv1x58knwlhpo9x0or5xh220y65'
  - url: 'https://pypi.org/project/thrift'
  - url: 'https://github.com/advisories/GHSA-hwrj-9rr4-24xh'
tags:
  - osv
  - pip
epss: 0.00214
epssPercentile: 0.11975
ingestedAt: '2026-09-02T19:31:23.371Z'
---

## Overview

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

## Affected packages

- `thrift < 0.24.0`

## Remediation

Upgrade to a patched release:

- `thrift 0.24.0`
