{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-97359 exists.","fix":"No fix has been published for CVE-2026-97359 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-97359 is a critical code injection vulnerability in rejetto hfs2, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-97359 and fix it if it is affected.\n\nWhat it is: CVE-2026-97359 is a critical code injection vulnerability in rejetto hfs2, published on 24 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-97359 exists.\n\nAffected product: rejetto hfs2. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-97359/ (Markdown: https://insights.sbomify.com/CVE-2026-97359/index.md)","id":"CVE-2026-97359","markdown":"https://insights.sbomify.com/CVE-2026-97359/index.md","name":"CVE-2026-97359","record":{"aliases":["GHSA-2w8r-rhgc-4pch"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"HFS2 web server","requires_auth":"none","summary":"Unauthenticated attackers can achieve remote code execution on HFS2 servers by injecting malicious template syntax into multipart upload filenames.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-97359.yaml","stars":null,"title":"Rejetto HTTP File Server 2.4.x - Template Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"HFS2 2.4.0 RCE via Multipart Upload Filename Template Injection","id":"CVE-2026-97359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"HFS2 2.4.0 Unauthenticated Arbitrary File Read/Write via Template Engine","id":"CVE-2026-97360"},"packages":[],"prev":{"headline":"PowerPress 11.13.12 - 11.17.9 - Contributor+ SSRF via Media URL Redirects","id":"CVE-2026-97354"},"products":["hfs2"],"published":"2026-09-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-29","vendors":["rejetto"]},"summary":"Unauthenticated attackers can achieve remote code execution on HFS2 servers by injecting malicious template syntax into multipart upload filenames.","url":"https://insights.sbomify.com/CVE-2026-97359/"}