CVE-2025-57633

A command injection vulnerability in FTP-Flask-python through 5173b68 allows unauthenticated remote attackers to execute arbitrary OS commands

Critical · published September 9, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
72.8
In the wild
Unconfirmed
What it is

🚨 A crafty command injection hides in FTP-Flask-python, allowing attackers to run arbitrary OS commands with just a file upload! 🔥 This is like a pizza delivery order with no checks—imagine a delivery driver going straight to the kitchen without verifying the ticket, leading to anyone getting whatever toppings they want! If exploited, an attacker could penetrate your system and execute any command they desired, effectively taking control of sensitive data, altering files, or even wreaking havoc on your server. The implications are absolutely devastating, opening the door for further attacks and data breaches.

Put simply

This is like a pizza delivery order with no checks—imagine a delivery driver going straight to the kitchen without verifying the ticket, leading to anyone getting whatever toppings they want! This command injection vulnerability occurs at the /ftp.html endpoint, where the "Upload File" action constructs a shell command from the unfiltered ftp_file parameter and passes it to os.system(), allowing remote attackers to inject arbitrary commands without any sanitization.

What to do

If exploited, an attacker could penetrate your system and execute any command they desired, effectively taking control of sensitive data, altering files, or even wreaking havoc on your server. The implications are absolutely devastating, opening the door for further attacks and data breaches. To mitigate this threat, immediately patch FTP-Flask-python to the latest version, which addresses this vulnerability. Additionally, implement input validation and sanitization measures to ensure user inputs are secure. Lastly, restrict access to sensitive endpoints where possible. You've got this! By following these steps, you'll lock down your system and take a major step towards security hero status! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01431 · 72.8th percentile
Published
2025-09-09T00:00Z
EPSS history
Timeline
  • 09 SEP 00:00Z
    A command injection vulnerability in FTP-Flask-python through 5173b68 allows unauthenticated remote attackers to execute arbitrary OS commands
    cvelistv5