An argument injection issue exists in the `git log`, `git diff`, and `git show` tools due to a lack of leading-dash validation in the `ref` and `object` parameters. This allows attackers to inject git command-line options, such as `--output=`, to write files to arbitrary paths accessible by the process outside of the repository.