What’s Vulnerable › Vulnerabilities
CVE-2026-97359: HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-09-24 · updated 2026-09-29
- Weakness: CWE-1336
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.
Affected products
- rejetto hfs2: from 2.0.0 through 2.4.0
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
- https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md
Get alerted when CVE-2026-97359 or the next vulnerability affects your stack