CVE-2014-7143: Python Twisted 14.0 trustRoot is not respected in HTTP client

twisted Updated 02 Oct 2025

Summary

12/11/2019
Yes i
High
7.5

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

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.

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for twisted.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback