CVE-2014-7143: Python Twisted 14.0 trustRoot is not respected in HTTP client
Summary
CVE-2014-7143: Python Twisted 14.0 trustRoot is not respected in HTTP client. Affects twisted versions < 14.0.1. Fixed in 14.0.1. How to fix ↓
Also tracked for
- twisted · Debian:11
The same CVE-2014-7143 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Python Twisted is an event-driven networking engine written in Python. It provides a framework for building network applications, including protocols such as HTTP, SMTP, and DNS. Twisted allows developers to create scalable and efficient network applications by utilizing asynchronous I/O. However, versions prior to 14.0.1 are vulnerable to a trustRoot bypass issue in the HTTP client. This vulnerability can lead to potential security risks when establishing secure connections.
Vulnerability Detail
The vulnerability in Python Twisted 14.0 allows an attacker to bypass the trustRoot mechanism in the HTTP client. This means that the client does not properly validate the server's certificate, allowing for potential man-in-the-middle attacks. An attacker could exploit this vulnerability to intercept and modify the communication between the client and the server, compromising the confidentiality and integrity of the data being transmitted.
How To Fix
Latest published version: 26.4.0 as of 23 Oct 2026
pip install --upgrade "twisted==26.4.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
14.0.1
This is the first release that contains the fix.
pip install --upgrade "twisted==14.0.1"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to update to the fixed version of Twisted to mitigate the risk.
Conclusion
Python Twisted 14.0 is vulnerable to a trustRoot bypass issue in the HTTP client. This can lead to potential security risks, including man-in-the-middle attacks. To mitigate this vulnerability, it is crucial to update to Twisted version 14.0.1 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for twisted →
FAQ
Python Twisted is an event-driven networking engine written in Python. It provides a framework for building network applications, including protocols such as HTTP, SMTP, and DNS.
This vulnerability allows an attacker to bypass the trustRoot mechanism in the Twisted HTTP client, potentially leading to man-in-the-middle attacks and compromising the security of the transmitted data.
To fix this vulnerability, you should upgrade your Twisted installation to version 14.0.1 or later.
No, there is no known workaround for this vulnerability. Updating to the fixed version is the recommended solution.
You can find more information about this vulnerability in the Python Package Advisory Database: https://github.com/pypa/advisory-database/blob/main/vulns/twisted/PYSEC-2019-212.yaml
References
Related vulnerabilities
Recent vulnerabilities recorded for twisted.