Skip to main content

hashcat EUVDEUVD-2026-64311

| CVE-2026-68766 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-08-22 VulnCheck GHSA-5qq7-x27p-hfq4
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted restore file to victim filesystem
  2. Delivery
    Victim runs hashcat --restore
  3. Exploit
    Injected --outfile option accepted from restore file without validation
  4. Execution
    hashcat appends attacker-controlled content to target path (e.g., ~/.bashrc)
  5. Persist
    Victim opens new shell session
  6. Impact
    Injected commands execute at victim privilege level

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

The victim must run 'hashcat --restore' (or the legacy one-step equivalent) against a restore file that has been crafted or modified by an attacker prior to the session resumption. The restore file must reside on the local filesystem accessible to the hashcat process; the attack vector is strictly local (AV:L per CVSS 4.0) and the attacker cannot interact with hashcat directly. Delivery of the malicious restore file requires a separate attack path such as social engineering, a writeable shared network mount, or compromise of an upstream session file store. Exploitation is further gated by the requirement that the victim actively choose to restore a session (UI:P in CVSS 4.0). The vulnerability has no effect during normal hashcat cracking operations that do not use the --restore feature, and it does not allow remote unauthenticated exploitation in any configuration.

Impact

CVSS 4.0 scores this at 8.5 with a local attack vector (AV:L), low complexity (AC:L), no privilege requirement on the attacker's part (PR:N), and passive user interaction (UI:P), reflecting that exploitation is contingent on the victim actively running hashcat against a tampered restore file. The high VC/VI/VA ratings are justified - writing to shell startup files achieves persistent code execution at the user level, with potential privilege escalation if the affected account has elevated rights. No EPSS score was provided in the input data, and this CVE is not listed in CISA KEV, so breadth of active exploitation is unconfirmed. The realistic threat actor must first deliver the malicious restore file through a separate channel - social engineering, a shared network path, or a poisoned upstream session file store - which substantially raises the bar for opportunistic mass exploitation. The local-only, user-interaction-dependent nature of the attack means that security teams running shared hashcat environments with collaborative session files represent a meaningfully elevated risk group and should prioritize patching over teams where restore files are never shared. The absence of a confirmed exploit and KEV listing suggests targeted rather than widespread exploitation at this time.

Exploit ScenarioDerived

An attacker places a crafted hashcat restore file containing injected options such as '--outfile /home/victim/.bashrc' and attacker-controlled payload content on a shared NFS mount used by a red team or delivers it via social engineering. When the victim runs 'hashcat --restore' referencing this file, hashcat appends the attacker-supplied content to ~/.bashrc. On the victim's next login, the injected shell commands execute with the victim's privileges, achieving persistent code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 22, 2026

Option injection in hashcat's restore file parser (all versions through 7.1.2) allows an attacker who delivers a crafted restore file to append attacker-controlled content to arbitrary files on the victim's system. When a user runs 'hashcat --restore' against the malicious file, output-redirecting options such as --outfile and --potfile-path are accepted from the restore file without restriction, enabling writes to shell startup scripts and subsequent code execution at the victim's privilege level. No public exploit identified at time of analysis; CVSS 4.0 rates this 8.5 with a strictly local attack vector and user interaction required.

RemediationAI

Build hashcat from commit fcae69f2438ff8eae0dc8e206b78067a1e465ed4 or a later tagged release once published at https://github.com/hashcat/hashcat, as the upstream fix is available per vendor (patch reference confirmed). The patch changes --restore to a safe display-only mode and introduces --restore-auto for the previous one-step behavior, allowing users to inspect restore file contents before they are acted upon. Until a patched binary is available, the primary workaround is to use the --restore flag exclusively with restore files you created yourself in a trusted, unmodified environment; never restore sessions from files received from third parties or stored on shared or untrusted paths. If shared session files are operationally required, restrict filesystem permissions on restore file directories to prevent unauthorized modification. The VulnCheck advisory is at https://www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-injection.

Affected VersionsENISA

hashcat 0 ≤7.1.2

Affected Packages

euvd hashcat no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-88 (Argument Injection or Modification) is the root cause: hashcat's restore file mechanism stores and replays command-line arguments but prior to the fix did not filter which options could be injected from the file. The vulnerable code is in src/restore.c (v7.1.2, lines 365-369 per the referenced source). Output path options such as --outfile and --potfile-path accept arbitrary filesystem targets; an attacker can set these to files like ~/.bashrc and shape the hashcat output content to include executable shell commands. CPE cpe:2.3:a:hashcat:hashcat:*:*:*:*:*:*:*:* covers all platforms and architectures. The fix in commit fcae69f2438ff8eae0dc8e206b78067a1e465ed4 replaces the direct restore-and-run behavior with a print-only display mode for --restore (new --restore-auto handles the legacy one-step flow), adds POSIX and Windows shell quoting for all restore file arguments, and escapes non-printable bytes as \xNN to prevent terminal escape sequence injection in the printed output.

Know when Hashcat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 7.8 HIGH

Attacker needs no privileges to craft the restore file; victim must actively invoke --restore (UI:R); all impacts remain within the victim's own user context (S:U).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Hashcat versions through 7.1.2 contain an option injection vulnerability enabling attackers to write arbitrary files on systems where users process malicious restore files, potentially achieving code execution with victim privileges. Organizations using hashcat for password auditing or recovery face a social-engineering risk where users could unknowingly execute attacker-supplied code. No public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
widely used by security professionals and penetration testers for password recovery
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy