{"id":"UBUNTU-CVE-2026-68766","details":"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.","modified":"2026-09-02T19:36:28.996359986Z","published":"2026-08-22T15:16:00Z","upstream":["CVE-2026-68766"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-68766"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-68766"},{"type":"REPORT","url":"https://github.com/hashcat/hashcat/issues/4738"}],"affected":[{"package":{"name":"hashcat","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/hashcat?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.60-1","4.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.0.1-1","binary_name":"hashcat"},{"binary_version":"4.0.1-1","binary_name":"hashcat-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68766.json"}},{"package":{"name":"hashcat","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/hashcat?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.0+ds1-1","5.1.0+ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"hashcat","binary_version":"5.1.0+ds1-2"},{"binary_version":"5.1.0+ds1-2","binary_name":"hashcat-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68766.json"}},{"package":{"name":"hashcat","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/hashcat?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.1+ds1-1","6.2.5+ds1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"hashcat","binary_version":"6.2.5+ds1-2"},{"binary_name":"hashcat-data","binary_version":"6.2.5+ds1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68766.json"}},{"package":{"name":"hashcat","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/hashcat?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.6+ds1-1","6.2.6+ds1-1build1","6.2.6+ds1-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"hashcat","binary_version":"6.2.6+ds1-1build2"},{"binary_version":"6.2.6+ds1-1build2","binary_name":"hashcat-data"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68766.json"}},{"package":{"name":"hashcat","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/hashcat?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.6+ds2-1","7.1.2+ds1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"hashcat","binary_version":"7.1.2+ds1-3"},{"binary_name":"hashcat-data","binary_version":"7.1.2+ds1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-68766.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"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"},{"type":"Ubuntu","score":"medium"}]}