CVE-2026-97359: HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
Vulnerability summary
CVE-2026-97359 is a critical (CVSS 10.0) vulnerability in rejetto hfs2. EPSS estimates a 5.14% chance of exploitation in the next 30 days, higher than 93.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 24-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
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 metrics
4 scores · 2 sources · 2 versions- NVDNIST10.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
5.14%
Chance of exploitation in the next 30 days
Percentile
93%
Versus all other CVEs
30-day change
Decrease -0.38 pp
From 5.52% on 31-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundHfs2
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Rejetto1 product
- hfs2≥ 2.0.0, ≤ 2.4.0
1 vendor · 1 product
References
2 links- github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.mdTechnical DescriptionExploit