Skip to content
CVE PROGRAM SOURCE RECORD10.0 Critical

CVE-2026-97359

HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

rejetto hfs2

Default version status: unaffected

  • 2.0.0 to ≤ 2.4.0affected
pkg:github/rejetto/hfs2

References