CVE-2026-68766
hashcat fails to restrict command-line options when parsing restore …
hashcat 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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/hashcat/hashcat
- github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369
- github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4
- github.com/hashcat/hashcat/issues/4738
- www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-
- nvd.nist.gov/vuln/detail/CVE-2026-68766
- cve.org/CVERecord?id=CVE-2026-68766
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.