Hashcat versions prior to 7.1.2 and several specific earlier versions fail to restrict command-line options when parsing restore files. This flaw allows attackers to inject output-redirecting options such as --outfile and --potfile-path. By crafting malicious restore files, attackers can append attacker-controlled content to arbitrary files, potentially enabling code execution when targeting shell startup files.