hashcat fails to restrict command-line options when parsing restore files, allowing attackers to inject output-redirecting options like --outfile… (CVE-2026-68766)
Hashcat contains a vulnerability where it does not properly 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.
AI Analysis
Technical Summary
The vulnerability in hashcat (CVE-2026-68766) arises from insufficient validation of command-line options during the parsing of restore files. This allows an attacker to inject options that redirect output to arbitrary files, such as --outfile and --potfile-path. Exploiting this, an attacker can append malicious content to files that may be executed, for example, shell startup scripts, leading to code execution. The CVSS v3.1 score is 7.8 (High), reflecting the local attack vector with low complexity, no privileges required, but requiring user interaction. The impact includes high confidentiality, integrity, and availability consequences. There is no information provided about patches or fixed versions.
Potential Impact
Successful exploitation can lead to arbitrary code execution by appending attacker-controlled content to arbitrary files, including shell startup files. This compromises confidentiality, integrity, and availability of the affected system. The attack requires local access and user interaction but no privileges, making it a significant risk in environments where users can be tricked into restoring crafted files.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid loading untrusted restore files in hashcat. Restrict access to restore files and monitor for suspicious modifications. Follow vendor updates for official patches or mitigations.
hashcat fails to restrict command-line options when parsing restore files, allowing attackers to inject output-redirecting options like --outfile… (CVE-2026-68766)
Description
Hashcat contains a vulnerability where it does not properly 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.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in hashcat (CVE-2026-68766) arises from insufficient validation of command-line options during the parsing of restore files. This allows an attacker to inject options that redirect output to arbitrary files, such as --outfile and --potfile-path. Exploiting this, an attacker can append malicious content to files that may be executed, for example, shell startup scripts, leading to code execution. The CVSS v3.1 score is 7.8 (High), reflecting the local attack vector with low complexity, no privileges required, but requiring user interaction. The impact includes high confidentiality, integrity, and availability consequences. There is no information provided about patches or fixed versions.
Potential Impact
Successful exploitation can lead to arbitrary code execution by appending attacker-controlled content to arbitrary files, including shell startup files. This compromises confidentiality, integrity, and availability of the affected system. The attack requires local access and user interaction but no privileges, making it a significant risk in environments where users can be tricked into restoring crafted files.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid loading untrusted restore files in hashcat. Restrict access to restore files and monitor for suspicious modifications. Follow vendor updates for official patches or mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5qq7-x27p-hfq4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68766"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a8a27f6acd9273b499bc949
Added to database: 08/22/2026, 22:51:34 UTC
Last enriched: 08/22/2026, 22:53:27 UTC
Last updated: 08/23/2026, 03:17:06 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.