# CVE-2026-97359: HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-24 · Modified: 2026-09-29
- Record: https://cvemate.com/vulnerability/CVE-2026-97359 · JSON: https://cvemate.com/vulnerability/CVE-2026-97359/json

## Description

```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.
```

## Signals

- CVSS: 10 critical (v4.0, CVE.org) 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
- EPSS: 5.141%, percentile 93.194%, as of 2026-11-30
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- rejetto hfs2: ≥ 2.0.0, ≤ 2.4.0

## References

- <https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md>
- <https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection>

---

Data as of 2026-12-01T11:03:12.528Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
