{"id":"CVE-2026-97359","published":"2026-09-24T14:18:22.533","lastModified":"2026-09-29T03:17:23.087","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.","cvssScore":10,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-1336"],"vendors":[],"products":[],"references":[{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","tags":[]},{"url":"https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection","tags":[]},{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","tags":[]}],"exploitRefs":[{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","tags":[]},{"url":"https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md","tags":[]}],"hasPoc":true,"ai":{"summary":"HFS2 version 2.4.0 and earlier is vulnerable to remote code execution via a template injection flaw in the multipart upload handler, allowing unauthenticated attackers to execute arbitrary commands on the host system.","exploitability":"Exploitation is relatively straightforward as it requires crafting a specific filename to bypass authorization checks. Attackers must have network access to the affected HFS2 instance.","blast_radius":"If exploited, this vulnerability could result in complete compromise of the host system, leading to data loss, system corruption, or unauthorized access to sensitive information.","remediation":"Upgrade to HFS2 version 2.5.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","auth-bypass"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-27T08:46:07.475Z"}}