CVE-2026-68766: hashcat fails to restrict command-line options when parsing restore files, allowing attackers to inject output-redirecting options like --outfile
Affects hashcatSource GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to 7.1.2 soon.
Data as of 21 Nov 2026, 17:35 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.1.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade hashcat/hashcat to 7.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubhashcat/hashcatpkg:github/hashcat/hashcatOther threats | Affected
| Fixed in
|
Ubuntu 18.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTShashcatpkg:deb/ubuntu/hashcat?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 26.10hashcatpkg:deb/ubuntu/hashcat?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
No explicit patch or remediation link is provided in the available data. If you cannot patch yet, avoid using untrusted restore files with hashcat or run hashcat in restricted environments where file modification risks are minimized.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-68766 (opens in a new tab)
- github.com/hashcat/hashcat/issues/4738 (opens in a new tab)
- github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4 (opens in a new tab)
- github.com/hashcat/hashcat (opens in a new tab)
- github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c (opens in a new tab)
- vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-injection (opens in a new tab)
- ubuntu.com/security/CVE-2026-68766 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-68766 (opens in a new tab)