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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.048 (91.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.048 · newest: 0.048 · change: 0.000
Affected products
- Twistedmatrix Twistedweb — versions 14.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- twisted.org/documents/14.0.0/index.html (Product)
- medium.com/@Justinsecure/chained-rce-on-twistedweb-14-0-0-via-command-injection… (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.