Template Injection Vulnerability in HFS2 by WgetNZ
CVE-2026-97359
Key Information:
Badges
What is CVE-2026-97359?
HFS2 versions 2.4.0 and earlier are susceptible to a template injection vulnerability located in the multipart upload handler. This issue allows unauthenticated attackers to execute arbitrary commands on the host system by embedding malicious template syntax within a crafted filename. By manipulating the filename to include a closing template quoting sequence followed by an exec macro, attackers can bypass authorization checks and gain unauthorized access to execute code remotely.
Affected Version(s)
hfs2 2.0.0 <= 2.4.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
