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.
Published: 2026-08-22
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Immediate Patch
AI Analysis

Impact

Hashcat does not validate command‑line options when reading restore files, allowing an attacker to inject output‑redirecting options such as --outfile and --potfile-path. By crafting a malicious restore file, an attacker can cause hashcat to append attacker‑controlled data to arbitrary files. If the target system processes those files—such as shell startup files—this can lead to remote or local code execution.

Affected Systems

The vulnerability affects the hashcat password‑cracking tool up to and including version 7.1.2. Users of hashcat 7.1.2 or earlier are impacted.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity, and no EPSS score is available; we have no data on exploitation probability. The vulnerability is not listed in CISA KEV, suggesting no known widespread exploitation. The attack requires an attacker to supply a crafted restore file to hashcat; this is typically a local attack scenario, but could be leveraged in environments where hashcat runs with elevated privileges or processes user‑supplied restore files.

Generated by OpenCVE AI on August 22, 2026 at 16:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s latest update that sanitizes restore file options, mitigating CWE‑88 injection.
  • Validate or cleanse restore files before import, removing any output‑redirecting options linked to CWE‑88 to prevent arbitrary writes.
  • Run hashcat with the least privilege and avoid writing to system or user startup files, reducing the impact of the CWE‑88 flaw.

Generated by OpenCVE AI on August 22, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 24 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 22 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection
First Time appeared Hashcat
Hashcat hashcat
Weaknesses CWE-88
CPEs cpe:2.3:a:hashcat:hashcat:*:*:*:*:*:*:*:*
Vendors & Products Hashcat
Hashcat hashcat
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-24T18:26:46.623Z

Reserved: 2026-07-31T16:10:55.447Z

Link: CVE-2026-68766

cve-icon Vulnrichment

Updated: 2026-08-24T18:26:39.407Z

cve-icon NVD

Status : Received

Published: 2026-08-22T15:16:20.633

Modified: 2026-08-24T19:16:43.757

Link: CVE-2026-68766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T16:30:05Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')