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

Description#

User-controlled input (like environment variables or command-line arguments) is being passed directly to subprocess functions without proper sanitization. This allows attackers to inject malicious commands into system calls.

Impact#

If exploited, an attacker could execute arbitrary system commands on the server, potentially gaining unauthorized access, stealing data, or compromising the entire system. This puts sensitive information and core infrastructure at significant risk.