---
id: CVE-2026-66053
title: >-
  thrift: Apache Thrift Python bindings: Information disclosure due to improper
  certificate validation (CVE-2026-66053)
summary: >-
  A flaw was found in Apache Thrift Python bindings. This vulnerability,
  stemming from improper validation of certificates with host mismatch, could
  allow a remote attacker to intercept and access sensitive information. The
  issue occurs when…
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'
cvssSource: vendor
cwe: CWE-295
vendor: Red Hat
product: Red Hat Hardened Images
affected:
  - enterprise_linux_ai_rhel_ai 3
  - ceph_storage 7
  - ceph_storage 8
  - ceph_storage 9
  - hardened_images
patched:
  - hardened_images
published: '2026-07-27'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T04:01:58+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-66053.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-66053.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-66053'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2507445'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-66053'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66053'
  - url: 'https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9'
  - url: 'https://lists.apache.org/thread/w4k5dnv1x58knwlhpo9x0or5xh220y65'
  - url: 'https://access.redhat.com/errata/RHSA-2026:49837'
  - url: 'https://github.com/apache/thrift'
  - url: 'https://pypi.org/project/thrift'
  - url: 'https://github.com/advisories/GHSA-hwrj-9rr4-24xh'
tags:
  - csaf
  - vex
  - red-hat
  - osv
  - pip
epss: 0.00292
epssPercentile: 0.21663
aliases:
  - GHSA-hwrj-9rr4-24xh
  - BIT-thrift-2026-66053
  - PYSEC-2026-3927
ecosystem: pip
ingestedAt: '2026-09-02T19:31:23.371Z'
---

## Overview

A flaw was found in Apache Thrift Python bindings. This vulnerability, stemming from improper validation of certificates with host mismatch, could allow a remote attacker to intercept and access sensitive information. The issue occurs when the Python client fails to adequately verify the server's certificate against its hostname, potentially enabling a man-in-the-middle (MITM) attack and leading to information disclosure.

## Vendor advisories

- **RHSA-2026:49837** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-08-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:49837)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat Ceph Storage 7, Red Hat Ceph Storage 8, Red Hat Ceph Storage 9 · no fix planned: Red Hat Enterprise Linux AI (RHEL AI) 3 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-66053.json)

**thrift: Apache Thrift Python bindings: Information disclosure due to improper certificate validation** — rated Moderate by Red Hat. Released 2026-07-27, updated 2026-10-16.

Affected:

- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
- Red Hat Ceph Storage 9

Fixed:

- Red Hat Hardened Images

No fix planned:

- Red Hat Enterprise Linux AI (RHEL AI) 3

## Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://images.redhat.com/ https://access.redhat.com/errata/RHSA-2026:49837

## Package advisory (CVE-2026-66053)

Affected packages:

- `thrift < 0.24.0`

Patched in:

- `thrift 0.24.0`

Source: https://osv.dev/vulnerability/GHSA-hwrj-9rr4-24xh
