It can be used to break out from restricted environments by running non-interactive system commands.
ssh '-oProxyCommand="touch /tmp/foo"' foo@foo
Joern Schneeweisz’s talk “Argument Injection”
Remote Command Execution in Visual Studio Code Remote Development Extension