hashcat — security advisory
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.
- Products
- hashcat
- Affected versions
- 6.2.6+ds1-1, 6.2.6+ds2-1, 7.1.2+ds1-1, 7.1.2+ds1-2, 7.1.2+ds1-3, 7.1.2+ds1-4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-68766
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:45 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-68766
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
hashcat
Fixed versions: Not specified
Complete source record
{
"id": "06e427d1201119d6fb35edd55bc67b859adad9ddf6ee8374682139a07c40cc28",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-68766",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-68766",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-68766",
"products": [
{
"name": {
"value": "hashcat",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.2.6+ds1-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.2.6+ds2-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.1.2+ds1-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.1.2+ds1-2",
"evidence": "/affected/0/versions"
},
{
"value": "7.1.2+ds1-3",
"evidence": "/affected/0/versions"
},
{
"value": "7.1.2+ds1-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.2.6+ds2-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.1.2+ds1-1",
"evidence": "/affected/1/versions"
},
{
"value": "7.1.2+ds1-2",
"evidence": "/affected/1/versions"
},
{
"value": "7.1.2+ds1-3",
"evidence": "/affected/1/versions"
},
{
"value": "7.1.2+ds1-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "hashcat",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.2.6+ds2-1",
"evidence": "/affected/2/versions"
},
{
"value": "7.1.2+ds1-1",
"evidence": "/affected/2/versions"
},
{
"value": "7.1.2+ds1-2",
"evidence": "/affected/2/versions"
},
{
"value": "7.1.2+ds1-3",
"evidence": "/affected/2/versions"
},
{
"value": "7.1.2+ds1-4",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-68766",
"aliases": [
"DEBIAN-CVE-2026-68766"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/debian/hashcat?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"6.2.6+ds1-1",
"6.2.6+ds2-1",
"7.1.2+ds1-1",
"7.1.2+ds1-2",
"7.1.2+ds1-3",
"7.1.2+ds1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68766.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/debian/hashcat?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"6.2.6+ds2-1",
"7.1.2+ds1-1",
"7.1.2+ds1-2",
"7.1.2+ds1-3",
"7.1.2+ds1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68766.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "hashcat",
"purl": "pkg:deb/debian/hashcat?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"6.2.6+ds2-1",
"7.1.2+ds1-1",
"7.1.2+ds1-2",
"7.1.2+ds1-3",
"7.1.2+ds1-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-68766.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:39.444842582Z",
"provider": "osv",
"upstream": [
"CVE-2026-68766"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-68766"
]
},
"related_cves": [
{
"value": "CVE-2026-68766",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328168,
"published_at": "2026-08-22T15:16:20.633+00:00"
}