# CVE-2025-50688: A command injection vulnerability exists in TwistedWeb (version 14.0.0) due to improper input sanitization in the file upload functionality.

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.58%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-05T00:00:00.000Z
- Modified: 2026-06-17T09:35:18.567Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- twistedmatrix twistedweb: 14.0.0

## References

- <https://medium.com/@Justinsecure/chained-rce-on-twistedweb-14-0-0-via-command-injection-and-unauthenticated-put-1aa657995b4e> (exploit, third-party-advisory)
- <https://twisted.org/documents/14.0.0/index.html> (product)

## Sources

- CVE List: [CVE-2025-50688](https://www.cve.org/CVERecord?id=CVE-2025-50688), CVE Terms of Use, modified 2025-08-05
- NVD: [CVE-2025-50688](https://nvd.nist.gov/vuln/detail/CVE-2025-50688), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50688 · Whole record: https://cve.day/CVE-2025-50688.json · Rebuilt by cve.day 2026-11-25T22:59:02.066Z
