Post

Rejetto HFS CVE-2026-61500: Math.random to admin cookie and RCE

HFS 3.0.0-3.2.0, the 3.2.1 fix, CVSS 4.0 9.3 from VulnCheck, KEV on 30 November, forensic triage, and upgrade steps.

As of December 2, 2026, CISA added CVE-2026-61500 to the KEV catalog on November 30, 2026; the due date is December 3, 2026, and the forensic triage field is Yes. Rejetto shipped the fix in HFS 3.2.1 on July 13, 2026. NVD published the record on July 13, modified it on December 1, and lists it as Analyzed. The table below was read from the NVD API record, the Rejetto 3.2.1 release notes, the VulnCheck advisory, and the CISA KEV JSON feed; no victim, actor, or HFS-specific IOC has been invented.

Quick summary

Field Value
CVE CVE-2026-61500
Product Rejetto HTTP File Server (HFS) 3.x
Affected 3.0.0 - 3.2.0
Fix 3.2.1 (July 13, 2026); latest was 3.4.2 as of December 2
Weakness CWE-338, non-cryptographic PRNG
CVSS 9.3 CRITICAL CVSS 4.0 and 9.8 CRITICAL CVSS 3.1; both are VulnCheck secondary
Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD status Published July 13, modified December 1, Analyzed
SSVC exploitation: active, automatable: yes, technicalImpact: total
KEV Added November 30, 2026, due December 3, 2026, forensicTriage: Yes
Ransomware Unknown

HFS chain from a Math.random session key to an admin cookie

Technical view

NVD and KEV describe the same chain: HFS 3.0.0-3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generator and discloses outputs from the same generator to unauthenticated clients during login. A remote attacker collects a small number of login responses, reconstructs the generator state, recovers the signing key, and forges a valid administrator session cookie. Admin access then extends to arbitrary code execution through HFS’s server_code configuration feature. Every step is stated in the primary records; no extra bug or hidden endpoint is assumed here.

Rejetto’s 3.2.1 release notes confirm the fix: they say multiple security vulnerabilities in “all previous versions” could allow an attacker to gain administrative access to HFS, and they credit Zach Hanley (@hacks_zach, Horizon3.ai) in collaboration with Claude and Anthropic Research. The release shipped on July 13, 2026. GitHub’s latest-release endpoint showed v3.4.2 (November 24, 2026) on December 2, so the fix has been available for months; for installations still on 3.x, the question is whether it was applied.

The KEV entry was added on November 30 with a December 3 due date. It names the flaw as use of a cryptographically weak pseudo-random number generator, sets forensicTriage: Yes, and leaves ransomware use as Unknown. NVD’s SSVC fields are active / yes / total. KEV means known exploitation; the primary records do not name an actor or victim and do not provide an HFS-specific IOC list.

What to do

  1. Check the version. Every HFS 3.x release from 3.0.0 through 3.2.0 is affected. 3.2.1 and later are fixed; move to 3.4.2 if possible.
  2. Apply the fix. Upgrade to 3.2.1 or later. Do not keep an old binary and change only its version string; verify the package and the running version.
  3. Reduce the management and login surface. Even if HFS serves files to the Internet, limit admin login and server_code access to trusted networks or a reverse-proxy allowlist. This does not replace the patch.
  4. Assume compromise when in doubt. If an affected version was reachable from outside, review the server_code configuration, admin sessions, configuration changes, and login responses; rotate admin passwords and sessions. Consider a clean rebuild if anything looks changed.
  5. Do the forensic triage. KEV sets forensicTriage: Yes. Preserve login request, cookie, and admin-action logs, but remember the primary records provide no ready-made IOC.
  6. Clean up the inventory. Remove unused HFS instances or those kept only for an old purpose; every exposed instance remains unnecessary risk after patching.

What not to claim

  • Do not say NVD assigned 9.3. The status is Analyzed, but 9.3 and 9.8 are VulnCheck secondary metrics; NVD published no primary score of its own.
  • Do not say 3.2.1 is the latest release. The latest was v3.4.2 as of December 2.
  • Do not say only 3.2.0 is affected. The range is 3.0.0-3.2.0.
  • Do not say all HFS 2.x releases are affected by this same flaw. The NVD record describes the HFS 3.x range; 2.x has a separate history.
  • Do not say KEV proves a known victim and actor. KEV shows active exploitation; the primary records name neither.
  • Do not say no IOCs means clean. The sources here provide no HFS-specific IOC; absence alone is not proof.
  • Do not say server_code runs without authentication. The chain first forges an administrator session cookie.

Status

As of December 2, 2026, the table was read from the NVD API record, the Rejetto v3.2.1 release notes, the VulnCheck advisory, the CISA KEV JSON feed, and the GitHub release endpoint. NVD published the record on July 13, 2026, modified it on December 1, and lists it as Analyzed. The KEV catalog version is 2026.11.30; CVE-2026-61500 was added on November 30 with a December 3 due date. Rejetto shipped 3.2.1 on July 13; the latest release is 3.4.2 from November 24.

Open points: the CVSS 4.0 and 3.1 scores come from VulnCheck; NVD published no analysis score of its own. KEV leaves ransomware use as Unknown and names no actor. The primary sources provide no HFS-specific IOC, victim, or campaign detail; this article does not invent one.

From this series

Sources