Property
Languagepython
Severitymedium
CWECWE-78: Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)
OWASPA01:2017 - Injection
Confidence LevelLow
Impact LevelHigh
Likelihood LevelLow

Description#

The code runs shell commands using asyncio subprocess functions with parameters that are not fixed strings. If any part of the command comes from user input or external sources, this can lead to command injection vulnerabilities.

Impact#

If exploited, an attacker could execute arbitrary system commands with the application’s privileges. This could result in data theft, system compromise, or complete takeover of the server, putting sensitive data and infrastructure at risk.