GitPython versions from 2.9.2 up to but not including 4.0.2 contain command injection vulnerabilities in the Repo.archive(), git.ls_remote(), and other Git command wrappers. These vulnerabilities arise from insufficient validation of user-supplied options that are passed directly to Git commands, allowing execution of arbitrary commands or unintended file truncation. The issue is fixed in version 4.0.2.