CVE-2026-41608: Thrift Apache Thrift Python Bindings Have Vulnerability
HIGHCVE-2026-41608 is a HIGH (CVSS 7.5) apache thrift python bindings have vulnerability (CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)) affecting Thrift libraries in the PyPI ecosystem. The issue involves apache thrift python bindings have an improper handling of highly compressed data (data amplification) vulnerability. Remediation is available by upgrading affected packages to version 0.24.0.
CVE-2026-41608 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-41608
To remediate this vulnerability, upgrade all affected Thrift dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install thrift>=0.24.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show thrift
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-41608, inspect your installed packages using pip:
pip show thrift
Analyze the terminal output to locate any version of Thrift in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.24.0), your application is affected.
Note: The pip show thrift command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-409: Improper Handling of Highly Compressed Data (Data Amplification), where the product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output. In Thrift, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-41608 Affected Thrift Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
thrift
|
PyPI |
< 0.24.0
|
0.24.0
|
References
Frequently Asked Questions
What is CVE-2026-41608?
Which Thrift versions are affected?
What version fixes CVE-2026-41608?
Is thrift affected?
What is the CVSS score of CVE-2026-41608?
What CWE is associated with CVE-2026-41608?
How can I check PyPI dependencies for CVE-2026-41608?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6pjx-3pjc-mrj8",
"modified" : "2026-09-01T17:03:24Z",
"published" : "2026-07-27T12:31:16Z",
"aliases" : [ "CVE-2026-41608" ],
"summary" : "Apache Thrift Python bindings have an Improper Handling of Highly Compressed Data (Data Amplification) vulnerability",
"details" : "Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in Apache Thrift Python bindings.\n\nThis issue affects Apache Thrift: before 0.24.0.\n\nUsers are recommended to upgrade to version 0.24.0, which fixes the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "thrift"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.24.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41608"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/thrift"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/7v3jhgwfbmhx42424phydlnzb109g8b9"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/vwsbcwqdpwdtp8qkjo11ol6rodbfm21f"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/07/24/32"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-409" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-01T17:03:24Z",
"nvd_published_at" : "2026-07-27T12:16:44Z"
}
}