hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-68766
Publishedhashcat fails to restrict command-line options when parsing restore files, allowing attackers to inject output-redirecting options like --outfile and --potfile-path. Attackers can craft restore files with malicious options to append attacker-controlled content to arbitrary files, enabling code execution when targeting shell startup files.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-68766 · CVE overview and exploitation status
cve-program · CVE-2026-68766
- https://github.com/hashcat/hashcat/issues/4738
- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369
- https://www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-injection
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.