The attacker needs network access to the HFS web interface and the name of an account that can log in, but no password. HFS built the key that signs its session cookies from JavaScript's Math.random() and, during login, handed out values from the same generator. The CVE record credits Zach Hanley of Horizon3.ai "in collaboration with Claude and Anthropic Research", and Horizon3 says the flaw was found by its research harness running Anthropic's Mythos model.
Key Facts
Data as of December 1, 2026.
| Field | Details |
|---|---|
| CVE | CVE-2026-61500 |
| Product | Rejetto HFS (HTTP File Server) 3.x, the TypeScript rewrite of HFS |
| Affected versions | 3.0.0 through 3.2.0 (CVE record). The 3.2.1 release notes say the flaws were found "in all previous versions". Our check: 0.57.27, the last build before 3.0.0, has the same code, so update any 0.x build too |
| Fixed in | 3.2.1, released July 13, 2026. Current release: 3.4.2 |
| Condition | Network access to the HFS web interface and the name of an account that can log in, such as admin; no password or user interaction. The key is predictable when the COOKIE_SIGN_KEYS environment variable is not set, which is the default |
| Severity | CVSS 3.1: 9.8 Critical, CVSS 4.0: 9.3 Critical (VulnCheck, the CNA). NVD: not yet scored (Undergoing Analysis) |
| Exploitation | In the CISA KEV catalog since November 30, 2026; CISA's assessment in the CVE record marks exploitation as active. GreyNoise observed an actor exploiting an HFS server on October 2, 2026. EPSS 0.023 (2.3%), 84th percentile. A third-party proof of concept is on GitHub; its repository dates from September 26, 2026 |
| Found by | "Zach Hanley (@hacks_zach) of Horizon3.ai, in collaboration with Claude and Anthropic Research" (CVE record and HFS 3.2.1 release notes) |
| Role of AI | The CVE record names Claude among the finders. Horizon3 says an agent driven by Anthropic's Mythos model found the flaw, a second agent verified it against the code, and Mythos built the working exploit |
| Weakness | CWE-338, use of a cryptographically weak pseudo-random number generator |
| Disclosed | July 13, 2026 |
| Related CVEs | CVE-2026-61501 to CVE-2026-61505: five medium-severity HFS flaws with the same credit, fixed in the same release and listed in the table below |
Who Is Affected
You are affected if you run HFS 3.2.0 or older with the default session key and an attacker can reach its web interface. HFS is built for sharing files over a network, and its configuration documentation lists the Admin-panel address filter, admin_net, with "Default is any".
Shodan counts about 1,500 web services on the internet that serve the HFS 3 interface. About 950 of them are outside cloud networks, and some of the cloud ones may be honeypots. The count covers every HFS 3 version, patched ones included.
A forged administrator session gives the attacker control of HFS itself, including its files, accounts and configuration. The configuration includes server_code, JavaScript code that "works similarly to a plugin", which is how the CVE record gets from session forgery to remote code execution. That code runs with the privileges of the HFS process.
HFS 2.x, the older program written in Delphi, is different code and falls outside this CVE's version range. It has two KEV entries of its own, CVE-2014-6287 and CVE-2024-23692, and CISA's note for the second one names version 3 as the patched HFS.
How to Check Your Systems
1. Check the version from outside. HFS 3 writes its version into the HTML of its web interface pages, inside a script object named HFS. Clients that HFS takes for simple browsers, curl among them, get a basic file list without that object instead, so the command sends a browser User-Agent. From a machine that can reach the server, run in a Bash shell:
curl -fsSL --max-time 15 -A "Mozilla/5.0" https://files.example.com/ | grep -o '"VERSION": "[^"]*"'
Versions 3.2.0 and lower, and 0.x builds, are affected. For a self-signed certificate, add -k, which turns off certificate checks. No output means the check did not work for that address, for example because of a connection, TLS or HTTP error or because a proxy or custom page answered first. It does not mean the server is safe.
2. Check the version on the host. HFS prints its version in the first lines of the console when it starts, as Version 3.2.0, followed by the build date and working directory; for a container, docker logs <container> shows these lines. On the server itself, the same curl against http://localhost:<port>/ shows what the running process reports. A process keeps the version it started with, so an HFS that has not restarted since the update still runs the old code.
3. Check containers. A rejetto/hfs:latest image pulled before July 13, 2026, or a pinned tag below v3.2.1, stays affected until you pull a fixed image and recreate the container. The tag name alone does not tell you the running version, so use step 1 or 2 on the container as well.
4. Look beyond the servers you know. The HFS README describes installation as unzipping and launching one file, so a copy can sit on a workstation as easily as on a server. The version string from step 1 is the same on every port HFS listens on, which makes it a simple marker when you check unexpected web ports on your external addresses.
How to Fix It
Update to HFS 3.2.1 or later (3.4.2 is current) the same way HFS was installed:
- Binary. Download the new version from the GitHub releases page, or use the update check on the Admin-panel home page.
- Docker. Pull
rejetto/hfs:v3.4.2orlatestand recreate the container with the same data volume. The documentation describes aDISABLE_UPDATEvariable that turns off the built-in updater in containers. - npm. Stop the running instance, then start HFS with
npx hfs@latest. - Homebrew. Upgrade the
rejetto/hfs/hfsformula and restart HFS.
After the update, check the version again with step 1 or 2 of the previous section. The release notes give no workaround. When COOKIE_SIGN_KEYS is not set, HFS generates a new signing key every time it starts, so the restart also invalidates cookies signed with the old key, forged ones included.
Updating Does Not Undo a Takeover
Changes made through a forged admin session can survive the update. If an affected version was reachable from the internet, review config.yaml for server_code you did not write, new accounts and changed permissions, and the plugins folder in the working directory for plugins you did not install. By default the configuration sits next to hfs.exe on Windows, in $HOME/.hfs on other systems and in /data in the Docker image; the console prints the working directory at startup. Then check the host itself.
All CVEs Fixed in HFS 3.2.1
HFS 3.2.1 fixes six CVEs with the same credit, and the update closes all of them. VulnCheck rates the other five as medium severity.
| CVE | What goes wrong | When it applies | CVSS 3.1 / 4.0 |
|---|---|---|---|
| CVE-2026-61500 | The session-cookie signing key comes from Math.random(), and login responses leak values from the same generator, so an attacker can forge an administrator session |
Network access and the name of an account that can log in; COOKIE_SIGN_KEYS not set, which is the default |
9.8 / 9.3 |
| CVE-2026-61501 | A username sent in a failed login is written to the log and runs as script in the Admin-panel log viewer | An administrator opens the logs | 6.1 / 5.3 |
| CVE-2026-61502 | State-changing API calls work over GET and skip the anti-CSRF check | A logged-in administrator opens a crafted link, or the request comes from the server's own machine on a default installation | 4.3 / 5.1 |
| CVE-2026-61503 | Login responses differ for existing and missing usernames, which confirms account names, the default admin included | Network access | 5.3 / 6.9 |
| CVE-2026-61504 | File names are not escaped in the basic web listing (?get=basic), so a file name can carry script |
The attacker can upload files, or the server has an open upload folder | 5.4 / 5.1 |
| CVE-2026-61505 | Path traversal through the lang parameter reads certain JSON files outside the shared folders |
Network access; only files that match a narrow name and format pattern | 5.3 / 6.9 |
How to Detect Exploitation
GreyNoise has published a detailed account of one attack. It describes an automated pipeline that used the flaw on October 2 to take over an unpatched HFS server, returned on October 5 to add an SSH key for the root account, and later made the server a relay for a campaign against Check Point Security Management Servers. Based on that account, possible signs are:
- A run of login-start requests (the
loginSrp1API call) for one account with no completed login, followed by Admin-panel requests. In the GreyNoise case, the forged admin requests came about two minutes after the first ones. - The User-Agent strings
Mozilla/5.0 (X11; Linux x86_64) researchandMozilla/5.0 research, which GreyNoise ties to the actor's HFS activity, and the domainnewpayapp[.]com. The GreyNoise report lists the IP addresses it attributes to the actor. - Changes to
server_codeor plugins, new SSH keys and unexpected downloads on the host.
One of these signs does not prove a compromise, and their absence does not rule one out.
I would start this one with a search, not with the servers you already know. A file server that someone started for a single project can easily miss the asset list, so the HFS copy that matters most may be one nobody on the team remembers. Then sort what you find by exposure. An affected HFS that answered from the internet after Horizon3 published its write-up on September 30 needs the update and, at the same time, a check for signs of compromise. Servers reachable only from inside can follow the same day.
Aleksandr MelnichukCPO, Project Director
How the Bug Works
HFS 3 runs on Koa, a Node.js web framework, and keeps the user's session in a signed cookie. Before 3.2.1, unless the COOKIE_SIGN_KEYS environment variable was set, HFS created the signing key at startup with an internal randomId() helper built on Math.random(). The fix adds a one-word comment to that helper: "non-cryptographic".
The second half of the problem sat in the login process. At the first login step, HFS put a session identifier taken from the same Math.random() into the session cookie it sent back. The cookie is signed, not encrypted, so the client could read that number. The CVE record puts the two halves together: HFS derives its key from Math.random() "and discloses outputs of the same generator to unauthenticated clients during login", which lets an attacker "reconstruct the generator's state" and recover the key.
Version 3.2.1 takes the key from crypto.randomBytes(32) and the login identifier from randomUUID(). The new comment next to the key reads: "cookie signatures need randomness that cannot be reconstructed from observable Math.random() output".
How It Was Found and Fixed
The date of the report to the maintainer is not public.
- July 10, 2026. VulnCheck reserves the CVE. The fix commit is authored the same day.
- July 13. The fix lands in the HFS repository, and HFS 3.2.1 is released. VulnCheck publishes the CVE record.
- September 26. A third-party proof-of-concept repository is created on GitHub.
- September 30. Horizon3 publishes its write-up.
- October 2. GreyNoise sees the first exploitation by the actor it tracks as GT13.
- November 23. GreyNoise publishes its report.
- November 30. CISA adds CVE-2026-61500 to the KEV catalog.

Horizon3 says it joined Anthropic's Project Glasswing in July 2026 and has used Mythos in its vulnerability research pipelines since. By its account, the harness "spawns many specialized agents in parallel"; on HFS 3, the agent looking for cryptographic weaknesses found the chain, and "Mythos then created the working proof of concept exploit". Horizon3 credits the model with connecting the two halves of the bug: it "recognized those two facts as a chain".
What This Says about AI Bug Hunting
Horizon3's researchers write that they had seen insecure cryptography in applications before and dropped it, because they lacked the mathematics and because such exploits took too long to be worth building. "Mythos negates both of those reasons," they conclude.
On the attack side, the exploitation GreyNoise saw came two days after Horizon3's write-up and 81 days after the fix. GreyNoise suspects the actor "has a mature AI-enabled offensive apparatus", with agentic systems that scan for vulnerable assets and exploit them automatically. Here, the attack followed the public details within days, so internet-facing servers go first in the update queue.
Where Topscan.me Fits
Horizon3 pointed Mythos at the code of HFS, and the vulnerability it reports finding got a CVE number and a place in vulnerability databases. Bugs in your own application rarely get either. Topscan.me AI Pentest points AI at your own application. It reads your code, attacks your running app and proves every confirmed finding with the real request and response.
With a tool like HFS, you first need to know where it runs. Discovery, part of Topscan.me attack surface management, finds hosts and subdomains around your domains, and the infrastructure scan lists open ports and the services behind them, with their versions. The fix for CVE-2026-61500 is still the update above.
Sources
- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-61500
- CVE records for the related CVEs: https://www.cve.org/CVERecord?id=CVE-2026-61501, https://www.cve.org/CVERecord?id=CVE-2026-61502, https://www.cve.org/CVERecord?id=CVE-2026-61503, https://www.cve.org/CVERecord?id=CVE-2026-61504, https://www.cve.org/CVERecord?id=CVE-2026-61505
- HFS 3.2.1 release notes: https://github.com/rejetto/hfs/releases/tag/v3.2.1
- Fix commit: https://github.com/rejetto/hfs/commit/59472e534b
- VulnCheck advisory: https://www.vulncheck.com/advisories/rejetto-hfs-session-forgery-via-predictable-signing-key
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-61500
- CISA Known Exploited Vulnerabilities Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-61500
- FIRST EPSS score for this CVE (API): https://api.first.org/data/v1/epss?cve=CVE-2026-61500
- Horizon3, "Horizon3's Tales from the Trenches: Anthropic's Mythos and Rejetto HFS": https://horizon3.ai/attack-research/disclosures/anthropic-mythos-rejetto-hfs-rce/
- GreyNoise, "99 IPs but a C2 ain't one: An Active Intrusion Campaign Against Check Point Security Management Servers", November 23, 2026: https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign
- HFS configuration documentation (3.4.2): https://github.com/rejetto/hfs/blob/v3.4.2/config.md
- HFS README, installation (3.4.2): https://github.com/rejetto/hfs/blob/v3.4.2/README.md#installation
- HFS Docker documentation: https://github.com/rejetto/hfs/wiki/Docker



