Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369
- https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465e
- https://github.com/hashcat/hashcat/issues/4738
- https://www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-re
FAQ
What is CVE-2026-68766?
CVE-2026-68766 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 ...
How severe is CVE-2026-68766?
CVE-2026-68766 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-68766?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.