command injection
Tricking a program into running extra operating-system commands by hiding them in its input.
Command injection occurs when untrusted input is concatenated into a shell command line; pass arguments as a list (ProcessStartInfo.ArgumentList) and avoid the shell.
Examples
A file name of
report.txt; shutdown nowpasted into a shell command, which then runsshutdownas well.
See also