← gociux.comall insights

Vulnerability alert · 2 Dec 2026

Rejetto HFS CVE-2026-61500: forged admin cookies, now exploited and in CISA KEV

, Gociux · 2 Dec 2026 · 4 min read

TL;DR

If you run Rejetto HFS 3.0.0 to 3.2.0 anywhere reachable from a network you don't fully trust, upgrade to the latest 3.x release today and check it for a forged admin login. CVE-2026-61500 lets an attacker without credentials become admin and run code, and CISA added it to the Known Exploited Vulnerabilities catalog on 30 November 2026 with a 3 December deadline for federal agencies. The fix has existed since HFS 3.2.1 in July. Exposed servers are the ones nobody upgraded.

What the flaw is

HFS (HTTP File Server) is a free, open-source web file server for Windows, Linux and macOS. Its session cookies are signed with a key generated by JavaScript's Math.random(), which isn't a cryptographic generator. A separate code path also returns values from that same generator to unauthenticated users during login. The generator's outputs are reversible: Horizon3's exploit samples the leaking endpoint 12 times, rebuilds the generator's state with a solver, recovers the signing key and forges an administrator session (Security Affairs).

From the admin session, the attacker uses HFS's server_code setting, which runs custom server-side JavaScript, to execute commands on the host (BleepingComputer). That gives full control of the files the server shares and a foothold on the host. CISA classes it as CWE-338, a weak pseudo-random number generator (CVE-2026-61500 on Gociux, from CISA KEV data).

Timeline

A small internet footprint doesn't make it a small risk. HFS is the tool someone starts on a Windows box to share a folder quickly, so it rarely shows up in an asset inventory or a patch cycle. The question is whether you have one you don't know about.

What to do

  1. Find it. Search endpoint inventory and EDR for HFS processes and installs, and network scans for unexpected web servers on workstations and file hosts. Include 2.x, which still turns up as hfs.exe.
  2. Upgrade 3.x to 3.2.1 or later, preferably the latest stable release from the official HFS repository, and confirm the new version is the one running.
  3. If you can't upgrade today, set a strong, explicit COOKIE_SIGN_KEYS value so the signing key no longer comes from the weak generator, and take the server off the internet (eSecurity Planet). Upgrading is still the fix.
  4. Check for compromise on any server that was exposed: unexpected admin logins, changes to server_code or other settings, new accounts, and processes started by HFS. If you find any, treat the host as compromised, not just the app.
  5. Retire HFS 2.x. It is end-of-life and its unauthenticated RCE, CVE-2024-23692, has been in KEV since 2024.

For PCI DSS and NIS2, an unmanaged file server on the network is an inventory and change-control finding before it is a vulnerability finding. Record where HFS was found, what you did, and when. The stack check emails you when a product you list is added to KEV, and the November KEV page lists everything added this month.

Questions

Which HFS versions are affected by CVE-2026-61500?

Rejetto HFS 3.0.0 through 3.2.0. Version 3.2.1, released on 13 July 2026, fixes it, so upgrade to the latest 3.x release. HFS 2.x isn't affected by this CVE but is end-of-life and has its own exploited flaw.

Is CVE-2026-61500 exploited in the wild?

Yes. VulnCheck saw exploitation attempts from 1 October 2026, and CISA added the CVE to its Known Exploited Vulnerabilities catalog on 30 November 2026 with a 3 December deadline for US federal agencies.

Can I mitigate CVE-2026-61500 without upgrading?

Partly. Setting a strong explicit COOKIE_SIGN_KEYS value stops the signing key coming from the weak generator, and removing internet exposure cuts off most attackers. Upgrading to 3.2.1 or later is the actual fix.

Shadow IT on your network?

We find unmanaged services like HFS across endpoints and servers, close them or bring them into patching, and give you the inventory and change evidence your PCI DSS or NIS2 auditor will ask for.

Request a quote →

Sources