Security Resilience

CVE-2025-57633

RCE

Published
09 September 2025
Modified
07 November 2026
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.014 74th percentile
Risk Priority 74 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-57633 is a critical-severity Command Injection (CWE-77) vulnerability. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 26% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-57633 is a command injection vulnerability (CWE-77) in FTP-Flask-python through commit 5173b68. The issue affects the /ftp.html endpoint's "Upload File" action, which constructs a shell command using the unsanitized ftp_file parameter and executes it via os.system() without proper escaping or validation, enabling arbitrary OS command execution.

Unauthenticated remote attackers can exploit this vulnerability over the network with low attack complexity and no privileges or user interaction required, as reflected in its CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). Exploitation grants attackers the ability to execute arbitrary operating system commands on the host, potentially resulting in high confidentiality, integrity, and availability impacts, such as full server compromise.

References include a GitHub Gist at https://gist.github.com/Spendroslav/1c0c6a6556992291b19c3178e3cb5885, likely containing disclosure details or proof-of-concept, and the vulnerable ftp_app.py source code at https://github.com/ajaypp123/FTP-Flask-python/blob/5173b6828244ff9729fa29cc144d74ccbea30a73/ftp_app.py. No vendor advisories or patches are specified in the available information; practitioners should avoid deploying versions up to 5173b68 and review the codebase for remediation.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-45011Shared CWE-77
CVE-2023-23952Shared CWE-77
CVE-2026-12573Shared CWE-77
CVE-2024-42348Shared CWE-77
CVE-2026-22103Shared CWE-77
CVE-2024-7181Shared CWE-77
CVE-2025-58428Shared CWE-77
CVE-2025-25605Shared CWE-77
CVE-2024-20676Shared CWE-77
CVE-2025-23196Shared CWE-77

Affected Assets

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover command-construction flaws before deployment.

Input validation directly stops construction of commands from untrusted data containing special elements.

Secure engineering principles include proper neutralization and safe command construction practices.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches command-injection vulnerabilities before release.

prevents

Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-77, a class-level weakness, and none of its children carries one either.

References