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

Published Aug 22, 2026
·
Updated

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.

Affected Software

1 affected component
hashcat hashcat<=7.1.2

Event History

Aug 22, 2026
CVE Published
via MITRE·02:12 PM
Data Sourced
via MITRE·02:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What access or user interaction is required for exploitation?

An attacker must be able to provide or cause a user to use a crafted hashcat restore file. The user must then run hashcat with that restore file; the CVSS vector indicates local attack access and required user interaction, with no privileges required.

2

Who is most exposed to this issue?

Systems where users run hashcat using restore files obtained from untrusted sources are exposed. Impact is especially severe if hashcat runs under an account whose shell startup files or other execution-relevant files can be modified.

3

What can an attacker change through the crafted restore file?

Injected options such as --outfile and --potfile-path can redirect output and append attacker-controlled content to arbitrary files. Targeting shell startup files can turn that file write into code execution when the affected shell environment is started.

4

What can be done until an update is applied?

Do not use restore files from untrusted or unverifiable sources. Restrict hashcat execution to trusted restore files and avoid running it under accounts where writes to shell startup files or other sensitive files could lead to execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203