Patchfirst
CVE-2026-97359 Public exploit Critical · 10.0 EPSS 5.5%

HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection

rejetto · hfs2

Summary

A template injection flaw in the multipart upload handler of rejetto's HFS2 (HTTP File Server) 2.4.0 and earlier lets an attacker submit a filename with embedded template syntax that is evaluated as code. An unauthenticated remote attacker needs only network access to the server and no user interaction to exploit it, and can use it to run arbitrary commands on the underlying host.

Official description · CVE.org

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.

Breakdown
76.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Disclosed on 24 Sep 2026. No public exploit code or confirmed exploitation is recorded.

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

What security researchers reported

Not named in any threat report yet

Also mentioned in 1 community threat pulse (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close