CVE-2025-50688: Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 16:39 UTC
- EPSS
- 6.7% chance of exploitation in 30 days – higher than 93% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Immediate patching: Organizations should monitor for official patches or updates from the TwistedWeb maintainers and apply them as soon as they become available.
- Input validation and sanitization: Until patches are applied, implement strict input validation on HTTP PUT requests to restrict file types, sizes, and content.
- Web application firewall (WAF): Deploy or update WAF rules to detect and block suspicious file upload attempts and command injection patterns targeting TwistedWeb endpoints.
- Principle of least privilege: Run TwistedWeb services with minimal privileges to limit the impact of potential exploitation.
- Network segmentation: Isolate systems running TwistedWeb to reduce lateral movement opportunities.
- Monitoring and logging: Enhance logging of file upload activities and command execution attempts, and implement real-time alerting for anomalous behavior.
- Disable or restrict HTTP PUT method if not required, or limit it to authenticated and authorized users only.
- Conduct security assessments and penetration testing focused on file upload functionalities to identify and remediate similar issues proactively.
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.