cve.bz

CVE-2026-68766 hashcat hashcat: Argument Injection

8.5 highEPSS 0.2%

High (8.5) in hashcat hashcat. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-08-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-88 Improper Neutralization of Argument Delimiters in a Command (Argument Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-68766 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-68766?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-68766?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-68766 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
hashcatthrough 7.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14hashcatno fix listedDEBIAN-CVE-2026-68766
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morehashcatno fix listedUBUNTU-CVE-2026-68766
openSUSELeap 16.0hashcat7.1.2+git942-bp160.1.1openSUSE-SU-2026:22138-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has rated this vulnerability as Important because an attacker can leverage crafted restore files to append data to sensitive local files, which may lead to arbitrary code execution with the permissions of the executing user. The hashcat package is not shipped in Red Hat Enterprise Linux, limiting exposure to community distributions such as Fedora. Exploitation additionally requires a user to explicitly load an untrusted session restore file.

Red Hat's mitigation

To mitigate this issue, run hashcat in an isolated environment, such as a container or a dedicated virtual machine, to restrict its access to the host filesystem. Additionally, only process restore files from trusted sources to prevent the injection of malicious command-line options.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-68766.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-137 Parameter Injection Likelihood: Medium · Severity: Medium
  • CAPEC-174 Flash Parameter Injection Likelihood: High · Severity: Medium
  • CAPEC-460 HTTP Parameter Pollution (HPP) Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON