Rejetto HFS
CVE-2026-61502
MEDIUM
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-delivered CSRF with no attacker privileges; scope changes because admin compromise yields RCE, giving high C and I beyond the original session.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Rejetto HFS 3.0.0 through 3.2.0 accepts state-changing API requests via the GET method and exempts GET requests from its anti-CSRF header check. A remote attacker can perform administrative actions including account creation and configuration changes leading to code execution - by causing a logged-in administrator's browser to navigate to a crafted URL, or without any credentials against default installations when the attack originates from the server's own machine.
AnalysisAI
Rejetto HTTP File Server (HFS) versions 3.0.0 through 3.2.0 performs state-changing administrative operations via HTTP GET requests while exempting GET from its anti-CSRF header validation, enabling two distinct attack paths: a classic CSRF attack requiring a logged-in administrator to visit a crafted URL, and a fully unauthenticated path exploitable from localhost against default installations. Successful exploitation allows account creation, configuration modification, and ultimately remote code execution on the HFS host. Patch version 3.2.1 is available; no public exploit or CISA KEV listing has been identified at time of analysis.
Technical ContextAI
Rejetto HFS is a lightweight, self-contained HTTP File Server targeting personal and small-team use cases, identified by CPE cpe:2.3:a:rejetto:hfs:*:*:*:*:*:*:*:*. The root cause is CWE-352 (Cross-Site Request Forgery): HFS exposes administrative API endpoints that accept state-mutating operations over GET rather than restricting them to POST/PUT/DELETE. Browsers and HTTP clients will follow GET URLs freely - via img tags, iframes, or redirects - without triggering CORS preflight or SameSite cookie protections that might otherwise apply to POST. HFS's own CSRF mitigation (an anti-CSRF header check) is only applied to non-GET methods, so the GET-based state-change endpoints are entirely unprotected. A secondary design issue exists in default installations: the server apparently grants elevated trust to requests originating from the loopback interface (127.0.0.1), bypassing authentication for those requests.
RemediationAI
Upgrade to Rejetto HFS 3.2.1 immediately, available at https://github.com/rejetto/hfs/releases/tag/v3.2.1; the vendor release notes confirm this version addresses multiple security vulnerabilities including this CSRF flaw. If immediate upgrade is not possible, restrict network access to the HFS management interface to trusted IPs only using a host-based firewall or reverse proxy ACL, which mitigates the CSRF vector by preventing untrusted clients from reaching the endpoint - note this does not fully address the localhost vector. As a compensating control for the localhost unauthenticated path, disable any co-located SSRF-capable services or scripting features that could initiate HTTP requests to 127.0.0.1. Ensure HFS is not exposed on publicly routable interfaces without authentication enforcement at a network boundary.
Administrator session forgery in Rejetto HFS (HTTP File Server) versions 3.0.0 through 3.2.0 lets a remote unauthenticat
Path traversal via the `lang` query parameter in Rejetto HFS 3.0.0 through 3.2.0 enables remote unauthenticated attacker
Username enumeration in Rejetto HFS 3.0.0-3.2.0 exposes valid account names-including the default admin account-to remot
Stored cross-site scripting in Rejetto HTTP File Server 3.0.0-3.2.0 allows an unauthenticated remote attacker to inject
Stored XSS in Rejetto HFS 3.0.0 through 3.2.0 allows attackers with upload access - or any user on servers configured wi
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today