{"id":"CVE-2026-97359","revision":"65ffc5e887684eb0916a0e7328e58755","records":[{"revision":"65ffc5e887684eb0916a0e7328e58755","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-97359","aliases":[],"title":"HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection","description":"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.","state":0,"publishedAt":"2026-09-24T13:28:18.818+00:00","modifiedAt":"2026-09-29T02:44:54.569+00:00","affected":[{"ecosystem":"Vendor product","name":"hfs2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"vendor\": \"rejetto\",\n                    \"product\": \"hfs2\",\n                    \"packageURL\": \"pkg:github/rejetto/hfs2\",\n                    \"repo\": \"https://github.com/rejetto/hfs2\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"2.0.0\",\n                            \"versionType\": \"semver\",\n                            \"lessThanOrEqual\": \"2.4.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"},{"system":"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,"severity":"CRITICAL"}],"references":["https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97359","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97359","identifiers":["CVE-2026-97359"]},"retained":false,"historicalAffected":[]}],"coverage":[]}