{"id":"CVE-2026-97359","aliases":["CVE-2026-97359"],"related":[],"kind":"vulnerability","state":"published","title":"HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection","summary":"HFS2 version 2.4.0 and earlier contains a template injection vulnerability in the multipart upload handler that allows unauthenticated attackers to achieve remote code execution by embedding malicious template syntax in a filename. Attackers can craft a filename containing a closing template quoting sequence followed by an exec macro, which bypasses the authorization check in the dispatcher to execute arbitrary commands on the underlying host system.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"HFS2 version 2.4.0 and earlier contains a template injection vulnerability in the multipart upload handler that allows unauthenticated attackers to achieve remote code execution by embedding malicious template syntax in a filename. Attackers can craft a filename containing a closing template quoting sequence followed by an exec macro, which bypasses the authorization check in the dispatcher to execute arbitrary commands on the underlying host system.","source":"cvelist"}],"published":"2026-09-24T13:28:18.818Z","modified":"2026-09-29T03:17:23.087Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":10,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","lastAffected":"2.4.0","status":"affected"}],"vendor":"rejetto","product":"hfs2","repo":"https://github.com/rejetto/hfs2","source":"cvelist"}],"references":[{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["wgetnz","VulnCheck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-09-29T02:44:32.969Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97359","url":"https://www.cve.org/CVERecord?id=CVE-2026-97359","licence":"CVE Terms of Use","modified":"2026-09-29T02:44:54.569Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97359","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97359","licence":"Public domain","modified":"2026-09-29T03:17:23.087Z"}],"updatedAt":"2026-11-25T22:59:40.759Z","epss":{"score":0.06604,"percentile":0.94001,"date":"2026-12-02T12:00:21.000Z"}}