CVE-2026-97359rejetto hfs2
Template Injection in HFS2 File Upload Handler
Critical 10.0 No auth needed
Follow: this CVE · rejetto · rejetto hfs2 We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 4.0
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Sep 24, 2026
- Updated
- Sep 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1336
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS: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
What happens
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. An attacker can embed malicious template syntax in a filename to bypass authorization checks and execute arbitrary commands on the underlying system.
Show the original NVD text
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.
What to do
No patch data
Update HFS2 to a version later than 2.4.0 when available. In the meantime, restrict access to the file upload functionality.
- Apply the vendor's security update for hfs2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- rejetto · hfs2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.