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.
Published: 2026-09-24
Score: 10 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a template injection flaw in the multipart upload handler of HFS2, allowing an unauthenticated attacker to execute arbitrary commands on the host by embedding malicious template syntax within the filename. This flaw bypasses the intended authorization checks in the dispatcher, effectively enabling remote code execution on the underlying system.

Affected Systems

Rejetto HFS2 versions 2.4.0 and earlier are vulnerable. The issue is specific to the proprietary HFS2 web server product

Risk and Exploitability

The CVSS score of 10.0 indicates critical severity. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, but the attack vector is unauthenticated remote exploitation via an HTTP multipart request. An attacker can construct a filename containing template syntax that closes the current context and injects an exec macro, thereby executing arbitrary commands without any authentication. Given the critical CVSS score, the risk to exposed instances is high, and deployment of the vulnerable version poses a significant threat to confidentiality, integrity, and availability of affected hosts.

Generated by OpenCVE AI on September 25, 2026 at 01:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HFS2 to version 2.4.1 or later where the injection vulnerability is fixed
  • Disable or remove the multipart upload functionality if it is not required, or block its endpoint with network-level controls
  • If the upgrade cannot be performed immediately, restrict upload access to trusted IPs only and monitor for suspicious filenames in upload logs

Generated by OpenCVE AI on September 25, 2026 at 01:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
First Time appeared Rejetto
Rejetto hfs2
Weaknesses CWE-1336
CPEs cpe:2.3:a:rejetto:hfs2:*:*:*:*:*:*:*:*
Vendors & Products Rejetto
Rejetto hfs2
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 10, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-29T02:44:54.569Z

Reserved: 2026-09-24T13:24:49.939Z

Link: CVE-2026-97359

cve-icon Vulnrichment

Updated: 2026-09-29T02:44:50.324Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T14:18:22.533

Modified: 2026-09-29T03:17:23.087

Link: CVE-2026-97359

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T01:15:21Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine