CVE-2026-66053 Apache Thrift: Python TSSLSocket Hostname Matcher Import

Medium 5.9 Published Updated

Attackers can bypass TLS hostname verification in Apache Thrift Python bindings, enabling man-in-the-middle attacks against secure connections.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-66053?

CVE-2026-66053 is a medium-severity vulnerability in Apache Thrift, published on 27 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-297

Which versions are affected by CVE-2026-66053?

4 open source packages ship an affected version, including thrift. It affects 1 product.

PackageAffectedFixed in
thrift BitnamiAll versions0.24.0
thrift PyPIAll versions0.24.0
thrift PyPIAll versions0.24.0
thrift PyPIAll versions0.24.0

Products include Apache Thrift.

How do I fix CVE-2026-66053?

Upgrade thrift to 0.24.0 or later.

Is CVE-2026-66053 being exploited?

There is no known exploitation of CVE-2026-66053 in the wild and no public exploit code.

Sources

Also known as AZL-93980, BIT-thrift-2026-66053, DEBIAN-CVE-2026-66053, GHSA-hwrj-9rr4-24xh, MINI-x2p8-grx4-26jr, PYSEC-2026-3927 and 1 more.

Is CVE-2026-66053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free