RCE in Twistedmatrix Twistedweb
CVE-2025-50688
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.048 (91.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Twistedmatrix Twistedweb — versions 14.0.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Product)
- cve@mitre.org (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-50688?
- CVE-2025-50688 is a medium-severity vulnerability in Twistedmatrix Twistedweb, classified under Command Injection. CVSS score: 6.5/10. Published 2025-08-05.
- How severe is CVE-2025-50688?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-50688 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.