CVE-2026-97359
10
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| rejetto | hfs2 | 2.0.0 <= 2.4.0 | affected |
Weaknesses
- CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.