Skip to content
OpenAdvisories
High · 7.8 CVE-2026-68766 EUVD-2026-64311GHSA-5qq7-x27p-hfq4

hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection

Published Aug 22, 2026 · Updated Aug 24, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
hashcat hashcat ≤ 7.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hashcat No fix yet —
Debian 13 hashcat No fix yet —
Debian 12 hashcat No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 hashcat No fix yet —
Ubuntu 26.04 LTS hashcat No fix yet —
Ubuntu 24.04 LTS hashcat No fix yet —
Ubuntu 22.04 LTS hashcat No fix yet —
Ubuntu 20.04 LTS hashcat No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS hashcat No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 hashcat 7.1.2+git942-bp160.1.1 openSUSE-SU-2026:22138-1

Advisories 1

References