{"id":"CVE-2026-97359","title":"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","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. Attac…","severity":"critical","cvss":10,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cwe":["CWE-1336"],"vendor":"rejetto","product":"hfs2","affected":["hfs2 >= 2.0.0 <= 2.4.0"],"published":"2026-09-24","updated":"2026-09-29","sourceUpdated":"2026-09-29T03:17:23.087","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-97359","references":[{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection","label":"disclosure@vulncheck.com"},{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-29T02:44:32.969852Z"},"ingestedAt":"2026-09-24T13:43:25.674Z","epss":0.05516,"epssPercentile":0.92762,"exploits":{"nuclei":["CVE-2026-97359"],"checkedAt":"2026-10-27T19:24:50.639Z"},"slug":"CVE-2026-97359","body":"## Overview\n\nHFS2 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"abyssal","depthScore":68,"depthScoreParts":{"impact":55,"likelihood":1.1,"exploitation":12,"ransomware":0},"changes":[{"seq":212210,"id":"CVE-2026-97359","ts":1790652420767,"field":"exploit_available","old":"false","new":"true"}]}