Paper/Archive/CVE-2026-97359

CVE-2026-97359

rejetto hfs2 — HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection

Description · from the CVE record

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

ProductAffectedFixed inSource
hfs22.0.0 – 2.4.0–CNA

Scores by source

VulnCheck (CNA)10.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.mdwriteupvulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection