CVE-2026-68766
hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection
- State
- Published
- Severity
- 8.5 High
- Published
- Aug 22, 2026
- Updated
- Aug 24, 2026
- Reserved
- Jul 31, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Products
| Product | Versions |
|---|---|
hashcathashcat |
|
References
- GitHub Issue #4738issue-tracking
- https://github.com/hashcat/hashcatproduct
- https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4patch
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369technical-description
- VulnCheck Advisory: hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injectionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.