CVE-2026-66053 Apache Thrift: Python TSSLSocket Hostname Matcher Import
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.
| Package | Affected | Fixed in |
|---|---|---|
thrift Bitnami | All versions | 0.24.0 |
thrift PyPI | All versions | 0.24.0 |
thrift PyPI | All versions | 0.24.0 |
thrift PyPI | All versions | 0.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.
Other vulnerabilities in Apache Thrift
- CVE-2026-55971 Apache Thrift: C++ ZLIB heap buffer overflow (write) in THeaderTransport::untransform()
- CVE-2026-48144 Apache Thrift: c_glib TLS Client Missing Hostname Verification
- CVE-2016-5397 Apache Thrift Go Library Command Injection
- CVE-2026-43871 Apache Thrift, Apache Thrift, Apache Thrift, Apache Thrift: TCompactProtocol varint byte-count limit
- CVE-2026-48586 Denial of service in Apache Thrift
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.