Rejetto HFS: exploited flaw lets attackers forge an admin session and run code without a password

Top-Secured cyber watch: independent analysis based on the sources listed below. Top-Secured is not affiliated with the companies mentioned and will never ask you for your bank details or passwords.

CISA added CVE-2026-61500, a flaw in the Rejetto HTTP File Server (HFS) 3.x, to its catalog of actively exploited vulnerabilities on 30 November 2026. An unauthenticated attacker can rebuild the key that signs session cookies, log in as administrator and execute code. Version 3.2.1, released in July, fixes it.

What happened

On 30 November 2026, the US cybersecurity agency CISA listed CVE-2026-61500 in its Known Exploited Vulnerabilities catalog, meaning it has evidence of attacks in the wild. The flaw affects HFS, the free Rejetto HTTP File Server often used to share files quickly from a Windows or Linux machine. It is rated 9.8 under CVSS 3.1 and 9.3 under CVSS 4.0. CISA gave US federal agencies until 3 December to fix it and flagged it for forensic triage. The same update also added CVE-2026-125160, an information disclosure flaw in TYPO3 CMS.

How the attack works

According to the NVD record, HFS 3.0.0 to 3.2.0 derives the key that signs session cookies from Math.random(), a generator not designed for cryptography, and reveals other outputs of that same generator to anyone who tries to log in. By collecting a handful of login responses, an attacker can reconstruct the generator’s state, recover the signing key and craft a valid administrator cookie. From the admin panel, the server_code configuration feature then lets them run arbitrary code on the host. No account and no user action are needed. The fix, HFS 3.2.1, has been available on GitHub since 13 July 2026.

What to do now

  1. Find every HFS instance, including ones started by hand on a workstation or a forgotten server, and check the version shown in the admin panel.
  2. Upgrade any 3.x release older than 3.2.1 to 3.2.1 or later, then restart the service.
  3. Do not leave HFS reachable from the internet: filter it at the firewall, allow only known addresses or put it behind a VPN.
  4. Look for signs of compromise: code added to the server_code setting, admin changes you did not make, unknown files, processes, scheduled tasks or accounts on the host. If in doubt, isolate the machine and keep its logs before reinstalling.
  5. Change the HFS administrator password and any secret stored on that machine.

Our take

Tools installed in a hurry to swap files often end up running for months with no owner and no updates. The patch has been out for more than four months: an inventory of what listens on your public addresses would have caught these servers long before attackers did.

Sources

How we choose, verify and write our analyses →

Is your own server exposed? Run a free check — public information only, no intrusion:

Check a server Check a website

Worried your servers are exposed? Our team audits, patches and monitors Linux and cloud infrastructure 24/7.

Talk to an expert Our managed server services →