CVE-2026-97359
published critical CVSS 4.0 · 10.0HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rejetto | — | hfs22.0.0 through 2.4.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 10.0 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rejetto | hfs2 | 2.0.0 through 2.4.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
References
2- https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md
- VulnCheck Advisory https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection
Provider assertions
2VulnCheck · cna
HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b25ec1560c60607836d39191b287b683073540941b7acdbf45ceb17a7a95b9a
- Ingested
- 30 Sep 2026, 15:35:53 UTC
- Source record
- Official CVE record