How a Login Leaks the Signing Key
Rejetto HTTP File Server (HFS) is a free open-source server for sharing files from a Windows, Linux or macOS machine. Version 3 is a TypeScript rewrite that runs on Node.js and the Koa web framework. CVE-2026-61500 sits in how version 3 signs its session cookies.
In HFS 3.2.0 the signing key is made once, when the process starts. The startup code takes it from the COOKIE_SIGN_KEYS environment variable when that is set. Otherwise it builds a 30-character key with randomId(30), which draws on JavaScript's Math.random(). The login handler draws on the same generator. The first login step, loginSrp1, stores sid = Math.random() in the session. HFS keeps the session in the cookie itself. Horizon3.ai points out that those cookies are signed but not encrypted, so the client can read the exact number.
V8, the JavaScript engine inside Node.js, implements Math.random() with the xorshift128+ algorithm. Its outputs can be run backwards. Horizon3's write-up lays out the attack. Call the login step repeatedly (their proof of concept took 12 samples), recover the generator state with the Z3 solver, step it back to the values drawn at startup and rebuild the key. Every guess can be checked offline against the signature on the attacker's own cookie. With the key, the attacker signs a session for the admin user. Horizon3's forged session also sets allow_session_ip_change, so the cookie works from any address.
Admin access on HFS is code execution. The configuration guide describes server_code as JavaScript that works like a plugin. The 3.2.0 source compiles it with Node's require function in scope, so it can do anything the HFS process can do.
The fix commit replaces both values. The login identifier becomes a random UUID. The signing key comes from 32 bytes of crypto.randomBytes. The fix shipped in HFS 3.2.1 on July 13, 2026, whose release note says Multiple security vulnerabilities have been found in all previous versions, potentially allowing an attacker to gain administrative access to HFS.
It credits Zach Hanley of Horizon3.ai. Horizon3 found the chain with Anthropic's Mythos model.
| CVE | CVE-2026-61500 (CWE-338, use of a cryptographically weak random number generator) |
|---|---|
| Affected | HFS 3.0.0 through 3.2.0 (NVD, VulnCheck) |
| Fixed in | 3.2.1, released July 13, 2026. The current release is 3.4.2 from November 24, 2026 |
| Severity | CVSS 3.1 base score 9.8. CVSS 4.0 score 9.3. Both from VulnCheck as the CNA |
| CISA KEV | Added November 30, 2026; federal due date December 3, 2026 |
| Public exploit | Horizon3.ai write-up with a proof of concept, published September 30, 2026 |
From Disclosure to a Relay Box
The gap between the fix and the KEV listing is four and a half months. Most of what happened in it is public.
- July 13, 2026
- HFS 3.2.1 ships the fix.
- September 30, 2026
- Horizon3.ai publishes the technical write-up with a proof of concept.
- October 2, 2026
- VulnCheck's canary sensors record probing for the flaw. BleepingComputer reports VulnCheck's description of it as small-scale reconnaissance from a single China Telecom address against deployments in Japan and the United States. SecurityWeek carries the same report.
- October 2, 2026
- GreyNoise watches an automated pipeline exploit an HFS server from 13:17:45 UTC. Admin requests with forged cookies follow within about two minutes.
- October 5, 2026
- The same actor forges a session again, installs HFS middleware hooks that run commands and appends an SSH key to
/root/.ssh/authorized_keys. - October 19, 2026
- Another forged session uses
server_codeto try to download a Linux implant. The download fails. The next day the actor logs in over SSH instead and builds a relay with Chisel and Nmap. - November 23, 2026
- GreyNoise publishes the campaign, which it tracks as GT13. The relay served an intrusion into Check Point Security Management Servers at no fewer than 22 organizations.
- November 30, 2026
- CISA adds CVE-2026-61500 to the Known Exploited Vulnerabilities catalog.
The GreyNoise case changes the question an investigator starts with. GreyNoise says the actor already had access to the Check Point servers before it took the HFS server. The file server was not the prize. It was a hop for an operation against other networks. So an HFS compromise is scoped by what passed through the host as much as by what was taken from it.
Where an HFS Server Keeps Its Evidence
Each row comes from the HFS 3.2.0 configuration guide or source unless the row names GreyNoise.
| Evidence | Where to look | What it can show |
|---|---|---|
| Working directory | The folder holding hfs.exe on Windows, $HOME/.hfs elsewhere. The --cwd option moves it. HFS prints it in the first lines of its console output | The root for every other HFS artifact below |
| Configuration | config.yaml in the working directory; custom HTML in custom.html | A server_code entry nobody wrote; accounts with admin: true; changes to log, log_api, dont_log_net or enable_plugins |
| Plugins | The plugins folder in the working directory (source) | A plugin nobody installed. Plugins and server_code can both register middleware |
| Access log | logs/access.log in the working directory by default in the 3.2.0 source (the guide shortens it to access.log); the log key overrides it | Apache Common Log Format with the HFS username in the user field. API calls are logged by default (log_api) |
| Error log | logs/access-error.log by default; the error_log key overrides it | Requests answered with status 400 or higher, failed logins among them |
| Older logs | The same folder, renamed with a date suffix and zipped, named like access-YYYY-MM-DD.log.zip. Rotation is weekly by default | The weeks around October 2, 2026, when exploitation was first seen |
| The host | authorized_keys files, local accounts, scheduled tasks, running processes and outbound connections | GreyNoise saw an added SSH key, Chisel, Nmap, a hand-written HTTP upload server and an /root/exfil/ staging folder |
Three things limit what the access log can say. log_ua is off, so HFS does not record user agents, including the one GreyNoise lists as an indicator. dont_log_net leaves out requests from 127.0.0.1 and ::1. If a reverse proxy on the same machine forwards to HFS while proxies is 0, HFS sees every visitor as 127.0.0.1 and logs none of them. The proxy's own log is then the only record. Finally, the log keeps the full URL but no request body. The admin panel sends its changes by POST, so the log can show a call to set_config without what it set. Only config.yaml shows what that call changed.
What a Forged Session Does Not Leave Behind
A forged session has no server-side record to find. HFS 3.2.0 stores the session in the cookie, so the only copy lived in the attacker's requests. What the log does keep is the username from the session. Forged requests are written under the admin account like any real admin request.
The difference is the login. A real login in 3.2.0 is a loginSrp1 call followed by a loginSrp2 call from the same browser. A forged session skips both and goes straight to admin APIs. That makes admin activity from an address that never completed a login a lead. It is not proof, because a real admin can hold a session for a day by default (session_duration) and keep it alive while the page stays open.
The key itself is lost at every restart. The startup code makes a new one, which the source comment notes also invalidates existing sessions. A restart or an upgrade ends forged cookies. It does not touch server_code, plugins or anything the attacker placed on the host. GreyNoise saw the actor run the forging flow again on October 5 and October 19, so expect a fresh burst of loginSrp1 calls each time.
Once an attacker has a shell on the host, two documented defaults work against the log. localhost_admin lets a request from the same machine into the Admin panel without credentials (README). dont_log_net keeps that request out of the access log. Activity after the SSH key was added has to be read from the operating system.
A Log Hunt Built for This Flaw
The commands below follow the HFS 3.2.0 log format: client address first, the HFS username third, then the timestamp, request and status. They are built from that documented format only. We have not run them against captured attack logs, because none have been published. Run them on a copy of the working directory, never on the live server.
# run from a copy of the HFS working directory
cd logs
# 1. Every log HFS still holds, rotated weeks included
( for z in *.zip; do [ -e "$z" ] && unzip -p "$z"; done; cat access*.log ) > all.log
# 2. Harvesting: login first steps per address, busiest first
awk '$7 ~ "^/~/api/loginSrp1" {print $1}' all.log | sort | uniq -c | sort -rn | head -20
# 3. Completed logins per address and user
awk '$7 ~ "^/~/api/loginSrp2" && $9 == 200 {print $1, $3}' all.log | sort | uniq -c
# 4. Configuration writes and who made them
awk '$7 ~ "^/~/api/(set_config|set_config_text|set_custom_html)" {print $4, $1, $3, $7, $9}' all.log
# 5. What the configuration holds now
grep -n -A 25 '^server_code:' ../config.yaml
Read steps 2 to 4 together. An address with a burst of first steps, no completed login and then configuration writes under an admin name is the pattern Horizon3 and GreyNoise describe. GreyNoise publishes its GT13 indicators, including the actor's domains and VPN exit addresses. Use that list from the source, since it may be updated.
Scoping an HFS Compromise in Order
- Was a vulnerable version reachable? Find the HFS version and when it was exposed to the internet. Versions 3.0.0 through 3.2.0 are affected. The Admin panel and the console banner both report the version and the working directory.
- Did anyone harvest login values? Look for bursts of
loginSrp1calls from one address. The earliest burst is the anchor time for everything after it. - Did a session act as admin without logging in? List admin API calls after the anchor and match each one to a completed login.
- What runs inside HFS now? Compare
config.yaml, the plugins folder and the account list with a backup from before the anchor. The backup matters, because an attacker with admin access could have changed the log settings too. - What ran on the host? Check
authorized_keys, new accounts, scheduled tasks, services and outbound connections. HFS runs as whatever account started it, so its rights set the ceiling. - Was the host used as a relay? Tunnel tools, scanners and staged archives from other networks mean the incident reaches past your own data. That raises notification questions for the other parties.
- What could the attacker read? Everything HFS shares, every file the HFS account can open through
server_codeand any credentials stored on the host.
Upgrading Ends the Forgery, Not the Foothold
Upgrade to 3.2.1 or later. Do it after evidence is safe, because the upgrade restarts HFS and the restart ends every live forged session along with whatever server_code was doing in memory. The KEV entry carries CISA's forensic triage flag under Binding Operational Directive 26-04. CISA's implementation guidance tells agencies to collect evidence before patching, because patching can destroy artifacts.
The preservation order for an HFS host is short. Copy the whole working directory with the zipped logs. Capture memory and the process list while HFS is still running. Then image the disk. On a Windows 10 or 11 host, Sherlock Forensics Disk Imager covers RAM capture and disk imaging. It does not run on Windows Server. Its memory driver stays registered on the host and leaves System event 7045, so note the capture in your case record. Collect the reverse proxy or firewall logs too, because they may be the only record of local traffic.
After the upgrade, remove any server_code or plugin nobody can account for, change every HFS password and restrict the Admin panel with admin_net. If the host shows an added SSH key or relay tooling, rebuild it rather than clean it. If the earliest harvesting burst is older than the logs that survive, the timeline has to come from the host and the network. That is an incident response engagement.
Primary Sources
- Rejetto HFS 3.2.1 release and the CVE-2026-61500 fix commit
- HFS 3.2.0 source: index.ts, api.auth.ts, log.ts, plugins.ts, adminApis.ts
- HFS 3.2.0 configuration guide and README
- Horizon3.ai: Anthropic's Mythos and Rejetto HFS
- GreyNoise: An Active Intrusion Campaign Against Check Point Security Management Servers
- VulnCheck advisory for CVE-2026-61500
- NIST NVD: CVE-2026-61500
- CISA Known Exploited Vulnerabilities catalog and BOD 26-04 implementation guidance
- FIRST EPSS score for CVE-2026-61500
Frequently Asked Questions
Is CVE-2026-61500 being exploited?
Yes. CISA added it to the Known Exploited Vulnerabilities catalog on November 30, 2026 with a federal due date of December 3. GreyNoise documented an attacker exploiting an HFS server from October 2, 2026 and using it as a relay against Check Point Security Management Servers.
Which Rejetto HFS versions are affected by CVE-2026-61500?
HFS 3.0.0 through 3.2.0. Version 3.2.1, released July 13, 2026, fixes it. The 2.x Delphi line is a different code base with its own history, such as CVE-2024-23692.
Does upgrading HFS remove an attacker?
No. The upgrade restarts HFS with a new signing key, which ends forged sessions. Code in server_code, installed plugins and anything placed on the host, such as an SSH key, survive it. Preserve the working directory, memory and disk first, then upgrade and remove what nobody can account for.
How do I check an HFS server for CVE-2026-61500 exploitation?
Read the HFS access logs, including the zipped weekly logs, for bursts of loginSrp1 calls from one address, then for admin API calls such as set_config with no completed login. Check config.yaml for a server_code entry and the plugins folder for anything nobody installed.
