# CVE-2026-68766: hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-22T14:12:42.748Z
- Modified: 2026-10-14T13:10:00.187Z
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- hashcat hashcat: up to 7.1.2

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/hashcat/hashcat/issues/4738> (exploit, issue-tracking)
- <https://github.com/hashcat/hashcat> (product)
- <https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4> (patch)
- <https://github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369> (technical-description)
- <https://www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-injection> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-68766](https://www.cve.org/CVERecord?id=CVE-2026-68766), CVE Terms of Use, modified 2026-08-24
- NVD: [CVE-2026-68766](https://nvd.nist.gov/vuln/detail/CVE-2026-68766), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-68766 · Whole record: https://cve.day/CVE-2026-68766.json · Rebuilt by cve.day 2026-11-25T22:59:34.877Z
