Critical severity · published Sep 24, 2026
CVE-2026-97359
HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
10.0
CVSS
5.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)5.5% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HF
hfs2 · rejetto
2.0.0 through 2.4.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-97359
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-97359
technical-description
https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md
third-party-advisory
https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection
More from hfs2
10.0
CVE-2026-97360
HFS2 2.4.0 Unauthenticated Arbitrary File Read/Write via Template Engine
7.5
CVE-2026-97362
HFS2 2.4.0 Unauthenticated Denial of Service via Hung Serving Thread
