Medium severity6.5NVD Advisory· Published Aug 5, 2025· Updated Jun 17, 2026
CVE-2025-50688
CVE-2025-50688
Description
A command injection vulnerability exists in TwistedWeb (version 14.0.0) due to improper input sanitization in the file upload functionality. An attacker can exploit this vulnerability by sending a specially crafted HTTP PUT request to upload a malicious file (e.g., a reverse shell script). Once uploaded, the attacker can trigger the execution of arbitrary commands on the target system, allowing for remote code execution. This could lead to escalation of privileges depending on the privileges of the web server process. The attack does not require physical access and can be conducted remotely, posing a significant risk to the confidentiality and integrity of the system.
Affected products
3- cpe:2.3:a:twistedmatrix:twistedweb:14.0.0:*:*:*:*:*:*:*
- TwistedWeb/TwistedWebdescription
Patches
Vulnerability mechanics
References
2- medium.com/@Justinsecure/chained-rce-on-twistedweb-14-0-0-via-command-injection-and-unauthenticated-put-1aa657995b4envdExploitThird Party Advisory
- twisted.org/documents/14.0.0/index.htmlnvdProduct
News mentions
0No linked articles in our index yet.