CVE-2026-97359: Improper Neutralization of Special Elements Used in a Template Engine in rejetto hfs2
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.
AI Analysis
Technical Summary
The vulnerability in rejetto hfs2 (versions 2.0.0 through 2.4.0 inclusive) is due to improper neutralization of special elements used in the template engine within the multipart upload handler. Attackers can craft filenames containing a closing template quoting sequence followed by an exec macro, which bypasses the dispatcher authorization check and allows execution of arbitrary commands on the underlying host system without authentication. This results in remote code execution with high impact.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary commands on the host system, leading to full system compromise. Given the CVSS 4.0 score of 10.0, the impact is critical, affecting confidentiality, integrity, and availability with high scope and severity.
Mitigation Recommendations
No patch or official fix information is provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the multipart upload functionality and monitor for suspicious activity related to file uploads.
CVE-2026-97359: Improper Neutralization of Special Elements Used in a Template Engine in rejetto hfs2
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.
CVSS v4.0
Score 10.0critical
Affected software
rejetto
hfs2
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rejetto hfs2 (versions 2.0.0 through 2.4.0 inclusive) is due to improper neutralization of special elements used in the template engine within the multipart upload handler. Attackers can craft filenames containing a closing template quoting sequence followed by an exec macro, which bypasses the dispatcher authorization check and allows execution of arbitrary commands on the underlying host system without authentication. This results in remote code execution with high impact.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary commands on the host system, leading to full system compromise. Given the CVSS 4.0 score of 10.0, the impact is critical, affecting confidentiality, integrity, and availability with high scope and severity.
Mitigation Recommendations
No patch or official fix information is provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the multipart upload functionality and monitor for suspicious activity related to file uploads.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-24T13:24:49.939Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab52a4af7a7c5410662664a
Added to database: 09/24/2026, 13:48:58 UTC
Last enriched: 09/24/2026, 14:02:50 UTC
Last updated: 09/25/2026, 02:13:34 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.