---
title: "CVE-2026-97359: HFS2 - Remote Code Execution"
description: "HFS2 <= 2.4.0 contains a template injection caused by malicious template syntax in multipart upload filename, letting unauthenticated attackers execute arbitrary commands remotely, exploit requires crafted filename."
url: https://panop.io/threat-heartbeat/CVE-2026-97359/
---

# CVE-2026-97359 HFS2 - Remote Code Execution

HFS2 <= 2.4.0 contains a template injection caused by malicious template syntax in multipart upload filename, letting unauthenticated attackers execute arbitrary commands remotely, exploit requires crafted filename.

CVSS base score 10.0 /10

Critical

CISA KEV

Exploited in the wild

Public exploit

None known

Authentication

Not required

EPSS

0.78% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-97359)

## Details

Type

Remote Code Execution

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Published

24 September 2026

Updated

15 October 2026

Weakness

[CWE-1336](https://cwe.mitre.org/data/definitions/1336.html)

## Vendor fix

Update to a version later than 2.4.0 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-97359](https://nvd.nist.gov/vuln/detail/CVE-2026-97359)
- [https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2026-97359&date=2026-10-15](https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2026-97359&date=2026-10-15)
- [https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md](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](https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
