Skip to main content

CVE-2026-97359: Improper Neutralization of Special Elements Used in a Template Engine in rejetto hfs2

0
Critical
VulnerabilityCVE-2026-97359cvecve-2026-97359
Published: 09/24/2026 (09/24/2026, 13:28:18 UTC)
Source: CVE Database V5
Vendor/Project: rejetto
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

rejetto

hfs2

Affected versions
>=2.0.0 <=2.4.0
GitHub Actionsmore threats →cve
hfs2
pkg:github/hfs2
Affected versions
>=2.0.0 <=2.4.0

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

AILast updated: 09/24/2026, 14:02:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses