CVE-2026-68766

NameCVE-2026-68766
Descriptionhashcat 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hashcat (PTS)bullseye6.1.1+ds1-1vulnerable
bookworm6.2.6+ds1-1vulnerable
trixie6.2.6+ds2-1vulnerable
forky, sid7.1.2+ds1-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hashcatsource(unstable)(unfixed)

Notes

https://github.com/hashcat/hashcat/issues/4738
Fixed by: https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4

Search for package or bug name: Reporting problems