On this page (7 sections)
Rejetto HTTP File Server (HFS) versions 3.0.0 through 3.2.0 contain a critical flaw, tracked as CVE-2026-61500, in how the server creates its session-cookie signing key. An unauthenticated remote attacker can forge an administrator session and, from there, execute code through the server_code configuration feature. CISA added the issue to its Known Exploited Vulnerabilities (KEV) catalog on 2026-11-30.
If you run HFS to share files, whether on a server, an office machine or a test box exposed to the internet, treat this as an urgent update and review task.
What happened
According to the NVD record, Rejetto HFS uses a cryptographically weak pseudo-random number generator. That lets an unauthenticated remote attacker recover the key that signs session cookies, forge an administrator cookie, and execute arbitrary code through the server_code configuration feature.
CISA added the CVE to its KEV catalog on 2026-11-30, and the catalog entry lists a due date of 2026-12-03. The catalog entry is the source for the exploitation status. The research available to us does not describe who is exploiting it, how widely, or what they do after gaining access, so we make no claims about that.
Technical details
The GitHub advisory describes two problems that combine badly:
- The session-cookie signing key is derived from Math.random(), a general-purpose generator that is non-cryptographic and not suited to security secrets (CWE-338).
- During login, the server discloses outputs of that same generator to unauthenticated clients.
A pseudo-random generator is deterministic: if you observe enough of its outputs, you can work out its internal state and predict other values it produced. The advisory says an attacker can collect a small number of login responses, reconstruct the generator's state, recover the signing key and forge a valid administrator session cookie. The CVSS v4 metrics in the advisory list a network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity and availability of the vulnerable system.
With administrator access, the server_code configuration feature provides the path to remote code execution, per the advisory. The research does not describe what privileges the resulting code runs with, so assume it could run with whatever rights the HFS process has.
Who is affected
Any instance of Rejetto HFS from 3.0.0 through 3.2.0 is in scope. The attack needs network access to the login interface, so exposure is generally higher when:
- The HFS login page is reachable from the internet, including through port forwarding on a router.
- HFS runs on a machine that holds other sensitive data or has wide network access.
- The server was set up for a one-off file transfer and then forgotten.
Servers reachable only on a trusted internal network are less exposed, but anything that can reach the login page could in principle attempt the attack, so patching still applies.
How to check your exposure
- Find every HFS instance you run, including old test servers and machines set up by colleagues. Look for the HFS process and for forwarded ports on your firewall or router.
- Determine the installed version using the vendor documentation or your own deployment records. Anything from 3.0.0 through 3.2.0 is affected.
- Check whether the instance is reachable from outside your network, for example by testing from a different connection or asking your network admin to review inbound rules.
- Review the HFS configuration, including the server_code feature named in the advisory, for anything you did not put there. The research does not describe how to inspect it, so consult the vendor documentation. Unexpected content or unexplained changes are a reason to treat the host as possibly compromised.
On a Linux host, this read-only command lists listening TCP ports and the processes behind them, so you can match them against your expected setup:
sudo ss -tlnpOn Windows, this PowerShell command lists listening TCP ports with their owning process IDs, which you can match to the HFS process in Task Manager:
Get-NetTCPConnection -State Listen | Select-Object LocalAddress,LocalPort,OwningProcessWhat to do now
The advisories reference the HFS v3.2.1 release. The GitHub advisory itself lists patched versions as unknown, so read the release notes to confirm that this release addresses CVE-2026-61500 before relying on it.
- Inventory all HFS instances and record their versions.
- Update affected instances to the fixed release named in the vendor's release notes (v3.2.1 is the release referenced by the advisories) and confirm the version afterward.
- If you cannot update right away, take the instance off the internet: remove router port forwards, restrict access with a firewall, or stop the service.
- Check the HFS configuration, especially server_code, for content you did not add, using the vendor documentation.
- Do not rely on changing the admin password alone, because the attack forges a session cookie rather than guessing a password. The research does not say whether the signing key or existing sessions change after an update or restart, so check the vendor release notes on that point.
- If you find signs of compromise, treat the host as breached: isolate it, preserve logs, rotate any credentials or keys stored on it, and rebuild from a known good state.
- As general hardening, run HFS under a low-privilege account with access only to the folders it needs to share.
CISA's required action in the KEV entry is to apply mitigations in accordance with vendor instructions and its forensics triage guidance, or to discontinue use of the product if mitigations are unavailable. That is a reasonable standard for any team.
Detection and monitoring
The following are generic hunting ideas, not documented indicators for this CVE. The research does not name the HFS login endpoint or describe log formats, so adapt everything to your own setup. Because exploitation involves forging a session rather than guessing a password, ordinary failed-login alerts may show nothing.
- Bursts of requests to the login endpoint from one address, followed by administrator actions, if your HFS or reverse proxy logs capture this.
- Configuration changes, especially to server_code, that no administrator made.
- Unexpected processes started by the HFS process, new scheduled tasks or services, and unusual outbound connections from the host.
- Administrator activity from IP addresses you do not recognize.
If HFS sits behind a reverse proxy, a grep through its access log is a simple read-only starting point. This example counts requests per client IP on lines containing the word login. The log path and the pattern are assumptions: determine the real login path and log location from your own configuration, since the pattern may miss or misattribute traffic.
grep -i 'login' /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -rn | headFor longer-term visibility, external checks help you notice when a service you did not mean to expose answers on the internet. A scheduled scan with the Webforta scanner or change monitoring through Webforta Monitor can help here, though neither replaces patching or a log review on the host itself. For background on recovering from a compromise, see website hacked: what to do.
What we do not know yet
- The sources do not say who is exploiting the flaw or how many systems are affected.
- CISA lists known ransomware campaign use as Unknown.
- The GitHub advisory marks affected and patched versions as unknown in its structured fields, while the description states 3.0.0 through 3.2.0. We used the description for the affected range.
- The advisory references include a GreyNoise post about a Check Point intrusion campaign. The material we have does not show that it concerns this CVE, so we draw no link between them.
- The research does not say how the signing key or existing sessions are handled after an update.
We will update this article if the vendor or CISA publishes further detail. For more on handling server-side weaknesses, see the security guides hub.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
