HFS2
HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, <= 2.4.0
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 31 days after publication; not in CISA KEV. First PoC: nuclei template: Rejetto HTTP File Server 2.4.x - Template Injection (nuclei template, 25 Oct 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Rejetto HTTP File Server 2.4.x - Template Injection | 25 Oct 2026 | 14 Nov 2026 |
| PoC Index | https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md | unknown | 14 Nov 2026 |