Rejetto HTTP File Server 2.4.x - Template Injection
CVE-2026-97359
Verified
Description
Rejetto HTTP File Server (HFS) 2.4.x inserts the multipart upload filename into the server-side template symbol map as %item-resource% without escaping. A filename containing the literal %item-resource% is substituted a second time by the sequential global replacement in xtpl(), allowing a :} sequence to terminate the quoting region so a following {.exec|...} macro is executed as an operating-system command. An unauthenticated attacker achieves remote code execution with a single request.
Severity
Critical
CVSS Score
9.8
Exploit Probability
6%
Affected Product
http_file_server
Published Date
October 25, 2026
Template Author
kosoyyagent
CVE-2026-97359.yaml
9.8Score
CVSS Metrics
CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2026-97359
CWE ID:
cwe-1336
Remediation Steps
Update to a version later than 2.4.0 or the latest available version.