Skip to main content
VulnerabilityPublished Updated

CVE-2025-57633: FTP-Flask-python · A Command Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.4% chance of exploitation in 30 days – higher than 72% 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:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 mitigation steps include disabling or restricting access to the vulnerable /ftp.html endpoint, especially the "Upload File" functionality, until a secure patch is available. Organizations should implement strict input validation and sanitization to prevent command injection, replacing any use of os.system() with safer alternatives such as subprocess.run() with argument lists or dedicated libraries that avoid shell invocation. Network-level controls such as web application firewalls (WAFs) should be configured to detect and block suspicious command injection patterns targeting the ftp_file parameter. Employing application-layer authentication and access controls can reduce exposure. Monitoring and logging of FTP-Flask-python application activity should be enhanced to detect anomalous commands or uploads. If possible, isolate the application in a restricted environment or container to limit the impact of potential exploitation. Organizations should also track vendor advisories for patches and apply them promptly once available. Conducting penetration testing and code reviews focused on command injection risks in similar applications is recommended to identify and remediate related vulnerabilities.

Description

A command injection vulnerability in FTP-Flask-python through 5173b68 allows unauthenticated remote attackers to execute arbitrary OS commands. The /ftp.html endpoint's "Upload File" action constructs a shell command from the ftp_file parameter and executes it using os.system() without sanitization or escaping.

References

Community reviews

Loading reviews…