CVE-2026-68766
published high CVSS 4.0 · 8.5hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hashcat | — | hashcat0 through 7.1.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hashcatx86_64 | Advisory build | 7.1.2+git942-bp160.1.1 | OPENSUSE-SU-2026:22138-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | hashcat-develx86_64 | Advisory build | 7.1.2+git942-bp160.1.1 | OPENSUSE-SU-2026:22138-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libhashcat7x86_64 | Advisory build | 7.1.2+git942-bp160.1.1 | OPENSUSE-SU-2026:22138-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hashcat | hashcat | 0 through 7.1.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
5- https://github.com/hashcat/hashcat
- https://github.com/hashcat/hashcat/blob/v7.1.2/src/restore.c#L365-L369
- https://github.com/hashcat/hashcat/commit/fcae69f2438ff8eae0dc8e206b78067a1e465ed4
- GitHub Issue #4738 https://github.com/hashcat/hashcat/issues/4738
- VulnCheck Advisory: hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection https://www.vulncheck.com/advisories/hashcat-through-arbitrary-file-write-via-restore-file-option-injection
Provider assertions
2VulnCheck · cna
hashcat through 7.1.2 Arbitrary File Write via Restore File Option Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3e8a24710c254e5453319d54b6d79e29cb616e27385389548991d8636eba60a0
- Ingested
- 23 Sep 2026, 09:27:38 UTC
- Source record
- Official CVE record