BuyRDPs.
Rejetto HFS CVE-2026-61500 — a file server running on a VPS under attack

Patch Rejetto HFS CVE-2026-61500 on Your VPS

Rejetto HFS CVE-2026-61500 is the kind of flaw that punishes people who did everything right. The fix has been out since July. The vulnerability has been public since September. And yet, on Monday, November 30, 2026, CISA still had to add it to its Known Exploited Vulnerabilities catalog — because attackers are still finding unpatched servers, breaking in, and turning them into launchpads for attacks on much bigger targets. The federal patch deadline is today, December 3, 2026, and if you run Rejetto HFS on a VPS, today is the day to stop putting it off.

Here is the short version. Rejetto HFS versions 3.0.0 through 3.2.0 generate the key that signs admin session cookies with Math.random(), JavaScript’s non-cryptographic random number generator — and the login page hands out outputs from that same generator to anyone who asks, no login required. An attacker collects enough of those outputs, works out the signing key, forges an admin session cookie, and then uses an admin-only feature to run arbitrary code on your server. No password, no phishing, no user clicking anything. The fix is a single upgrade to HFS 3.2.1 or later, and the current release is 3.4.2.

This guide covers what happened, how the flaw works in plain English, the attack campaign that put it on CISA’s list, and the five steps that close it properly: check your version, upgrade to 3.4.2, rotate every secret the server could reach, check whether someone already got in, and harden the setup so the next flaw hurts less. If you don’t run Rejetto HFS anywhere, you can skip this one — but if you do, read it now and patch today.

In this guide:

What Happened: CISA’s Deadline Is Today

CISA added Rejetto HFS CVE-2026-61500 to the Known Exploited Vulnerabilities (KEV) catalog on November 30, 2026, citing evidence of active exploitation. Under the binding operational directive that governs the catalog, federal civilian agencies must remediate it by December 3, 2026 — today. That deadline binds federal agencies, not you, but treat it as what it is: the clearest “patch by” date a vulnerability ever gets. CISA does not put a flaw on this list because it is theoretically dangerous. It puts it there because attackers are using it, right now, against real servers.

The timeline tells the story of a fix that sat unused for months while exploitation escalated:

Date (2026) What happened
July 10 CVE-2026-61500 is reserved.
July Rejetto ships the fix in HFS 3.2.1. Anyone who updated then was never at risk.
September 30 Horizon3.ai publishes a full technical analysis of the flaw, found with Anthropic’s Mythos AI agent. A public proof of concept follows within days.
Early October VulnCheck reports active exploitation attempts — at first, small-scale reconnaissance.
October 2 GreyNoise observes a threat actor it tracks as GT13 compromise a Rejetto HFS server and use it as an operational relay.
November 24 HFS 3.4.2 ships — the current release, and the version this guide upgrades you to.
November 30 CISA adds CVE-2026-61500 to the KEV catalog, confirming exploitation in the wild.
December 3 (today) Federal patch deadline under CISA’s binding operational directive.

Notice the gap that matters: the fix existed in July, the public exploit existed in September, and the attacks were running in October — but the KEV listing only came on November 30. That is five months between “fixed” and “everyone is finally being told to patch.” If your HFS install is one of the ones that never got updated, it has been sitting exposed through all of it.

What Rejetto HFS Is (and Why It’s on Your VPS)

Rejetto HFS — HTTP File Server — is a free, open-source file server that lets you share files through a web browser. You install it, point it at some folders, and anyone with the link can browse and download (and, if you allow it, upload) files. It runs on Windows, Linux, and macOS, and there is an official Docker image, rejetto/hfs, with more than 129,000 pulls on Docker Hub. The project has around 4,000 stars on GitHub.

It ends up on VPSs for a simple reason: it is the cheapest way to run your own file sharing. Instead of paying a cloud storage subscription, you rent a $5 VPS, install HFS, and you have a download portal for clients, a way to send large files without a third party, or a private file drop for a small team. It is the kind of tool that gets installed once, works quietly for years, and is forgotten — which is exactly how a server ends up running a July 2026 version in December 2026.

HFS has user accounts, per-folder permissions, upload support, and a browser-based admin panel. It also has a feature called server_code: an admin-only setting that lets you run custom server-side JavaScript. That feature is the second half of this vulnerability, because once an attacker holds a forged admin session, server_code turns “logged in as admin” into “run any code on the server.”

How Rejetto HFS CVE-2026-61500 Actually Works

You don’t need a cryptography degree to understand this one. It breaks down into three steps, and every one of them is the attacker’s to take without logging in.

Step one: the signing key is predictable. When you log in to HFS, the server gives your browser a session cookie, and it signs that cookie with a secret key so nobody can forge one. In HFS 3.0.0 through 3.2.0, that key was generated with Math.random() — JavaScript’s built-in random number function. Math.random() was never designed for security. It is a fast, non-cryptographic generator whose outputs are mathematically related to each other: see enough outputs, and you can work out the internal state and predict the rest. For anything that protects a login, it is the wrong tool, and using it to derive a signing key is the core of this flaw.

Step two: the server leaks the outputs. The flaw would be bad enough on its own. What makes it trivially exploitable is that HFS’s login responses expose outputs from that same generator to unauthenticated visitors. An attacker doesn’t have to guess anything or brute-force anything. They just visit the login page, collect the predictable values it hands out, reconstruct the generator’s state, and derive the session-cookie signing key. Horizon3.ai’s September 30 analysis laid out the full chain; a public proof of concept appeared within days.

Step three: forge the cookie, then run code. With the signing key in hand, the attacker crafts a session cookie that claims to be an administrator — no password needed, no account needed. Once inside as admin, they use the server_code configuration feature to execute arbitrary code on the server. At that point the file server is theirs: read files, upload a webshell, pivot to anything else on the VPS, or use the server as a relay for attacks on other targets. The vulnerability scores CVSS 9.3 Critical under version 4.0 (9.8 under version 3.1).

Two things are worth stressing. First, this is unauthenticated remote code execution: the attacker needs no account and no interaction from you. If your HFS is reachable on the internet, it is reachable by the attacker. Second, the fix is complete and has been complete since July — HFS 3.2.1 replaced the weak key generation, and every release since, including the current 3.4.2, is safe from this flaw.

Who Is Affected: Versions, Platforms, and the HFS 2.x Exception

HFS version Status
3.0.0 through 3.2.0 Affected. Upgrade immediately.
3.2.1 and later (current: 3.4.2, Nov 24, 2026) Fixed. Verify you are actually on one of these — don’t assume.
2.x and earlier Not affected. This flaw is in the TypeScript rewrite that began with HFS 3.0.0. (That is not a reason to stay on 2.x — it is old and unmaintained.)
Docker image rejetto/hfs tagged below 3.2.1 Affected. Same flaw, same fix: pull a current tag.

The exposure condition matters as much as the version. An attacker has to reach your HFS login page to exploit this, so the servers at risk are the ones with HFS exposed to the internet with login enabled — which is most of them, since the whole point of HFS is serving files to people over the web. If your HFS is bound to localhost only, or reachable only through a VPN, the login endpoint isn’t reachable by an internet attacker and the practical risk drops sharply. That is a mitigation, not a fix — patch anyway, because network layouts change and “only reachable internally” has a way of quietly becoming untrue.

One honest caveat: if you installed HFS after July 2026 from the official download page, you almost certainly have a fixed version already. Check anyway. “Almost certainly” is not a version number, and the whole point of this guide is the five minutes it takes to be sure.

The Attack Campaign: From a File Server to Check Point Targets

This flaw didn’t just get exploited — it got weaponized as infrastructure. That is what pushed CISA to act, and it is the part that should worry you even if your files feel unimportant.

VulnCheck first reported exploitation attempts in early October 2026, describing them as small-scale reconnaissance: attackers probing for vulnerable servers, confirming which ones they could get into. Then GreyNoise reported something more serious. A threat actor it tracks as GT13 compromised a Rejetto HFS server on October 2, 2026, and used it as an operational relay — a staging point — to target Check Point Security Management servers at 22 organizations, using AI-driven offensive tooling. The HFS server wasn’t the target. It was the disguise: attacks launched from a small file server on a rented VPS don’t look like attacks launched from the attacker’s own infrastructure, and the VPS’s clean IP reputation helps them slip past filters.

Think about what that means for your server. If an attacker compromises your HFS, the worst outcome isn’t that they read your files. It’s that your VPS starts attacking other people’s security infrastructure, from your IP address, on your account. You find out when your host suspends the server, or when someone else’s incident response team comes knocking. The fix that prevents all of it is a five-minute upgrade that has existed since July.

There is no confirmed ransomware campaign tied to this flaw in CISA’s listing, and no confirmed public report of data theft from HFS servers specifically. Don’t let that comfort you: the observed activity is already serious enough — reconnaissance, then relay attacks against enterprise security gear — and the public proof of concept means anyone can reproduce the attack, not just one tracked actor.

Step 1: Check If You’re Running HFS (and Which Version)

Before you patch anything, find out whether HFS is even on the server, and which version it is. If you manage several VPSs, check all of them — HFS is exactly the kind of tool that gets installed on a forgotten server and never thought about again.

The fastest check is the admin panel. Open your HFS address in a browser, log in as admin, and look at the footer or status area — HFS shows its version there. If you can’t reach the admin panel, check from the server itself.

On a Windows VPS, look for the running process and the port it listens on:

Get-Process hfs -ErrorAction SilentlyContinue | Select-Object Id, ProcessName, Path

netstat -ano | findstr ":80"
netstat -ano | findstr ":443"

If Get-Process hfs returns a process, HFS is running, and the Path column tells you where it is installed. The install folder name usually carries the version — a folder called hfs-3.1.0 is a vulnerable version, full stop.

On a Linux VPS, the equivalent checks are:

ps aux | grep -i hfs | grep -v grep

ss -tlnp | grep -E ':(80|443|8080)'

If you run HFS in Docker, check the running container and the image tag — the tag is the version:

docker ps --filter "ancestor=rejetto/hfs" --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"

docker images rejetto/hfs --format "table {{.Tag}}\t{{.CreatedAt}}"

If the image tag is 3.2.0 or older — or latest pulled before July 2026 — treat it as vulnerable until you prove otherwise. A latest tag tells you nothing by itself; check when it was pulled. If the tag reads 3.2.1 or newer, you have the fix, but read Step 4 anyway: a patched server can still be carrying a compromise from before the patch.

Check whether Rejetto HFS is running on your VPS and which version it is
Check whether HFS is running on your VPS — and which version — before you patch anything.

Step 2: Upgrade to HFS 3.4.2

Back up first. HFS keeps its configuration — your virtual file system, accounts, and settings — in config.yaml next to the executable, so copy the whole HFS folder somewhere safe before you touch anything. The upgrade itself doesn’t delete your files or your shares, but a backup turns a bad upgrade into a five-minute restore instead of a rebuild.

# Windows (PowerShell) — back up the HFS folder before upgrading
Copy-Item -Recurse "C:\hfs" "C:\hfs-backup-2026-12-03"

Then upgrade to the current release, HFS 3.4.2, from the project’s GitHub releases page — this is the version that patches Rejetto HFS CVE-2026-61500, plus several other fixes that have shipped since July. The steps depend on how you installed it:

Windows binary: stop HFS, download the 3.4.2 release, extract it over your existing install folder (or into a fresh folder and copy your config.yaml across), and start it again. Open the admin panel and confirm the footer shows 3.4.2.

Linux binary: same idea — stop the running HFS, replace the binary with the 3.4.2 release, and restart it. If you run HFS as a systemd service, use systemctl stop hfs before the swap and systemctl start hfs after, then check systemctl status hfs to confirm it came back up.

Docker: pull the current image and recreate the container. If you use Compose, this is two commands:

docker pull rejetto/hfs:3.4.2

docker compose pull && docker compose up -d

Then confirm the running container is on the new tag with the docker ps command from Step 1. If you pinned latest, switch to the explicit 3.4.2 tag while you’re here — a pinned tag means you always know which version is running, and the next upgrade is a deliberate choice instead of a surprise.

After the upgrade, verify the fix landed: the admin panel should show version 3.4.2, your shares should still load, and a test login should work. If the admin panel shows anything older than 3.2.1, the upgrade didn’t take — you may have two HFS installs on the server and updated the wrong one, or an old service is still running. Stop every HFS process, check the install paths, and redo it.

Upgrade Rejetto HFS to version 3.4.2 to patch CVE-2026-61500
Upgrade to HFS 3.4.2 — the fix has been available since version 3.2.1 (July 2026).

Step 3: Rotate the Admin Password and Every Secret HFS Could Reach

Patching closes the hole. It does not undo a break-in that already happened — and with this flaw, you have to assume one could have happened. The attacker didn’t need your password. They forged a session using a signing key they derived from your server, so rotating the password alone doesn’t clean up a compromise. Do all of this:

  • Change the HFS admin password to a long, random one you don’t use anywhere else. Do it after the upgrade, in the admin panel, and check the accounts list while you’re there — delete any account you don’t recognize.
  • Change every other HFS account password too, especially any account with upload or admin rights.
  • Rotate any API key, token, or password stored in a folder HFS serves — or stored anywhere the user account HFS runs as could read. If you shared a folder containing config files, backups, or documents with credentials in them, assume they were readable and rotate them.
  • If you reused the HFS admin password on any other service, change it there as well. Password reuse is how one compromised file server becomes three compromised accounts.
  • Check the server_code setting in the admin panel. If it contains code you didn’t write, that’s evidence of compromise — clear it, and treat the server as breached (Step 4). If you don’t use server_code at all, leave it empty.

This step is the one people skip because it feels like paranoia. It isn’t. The whole point of this flaw is that the attacker could have had admin access without ever touching your password — so “nobody knew my password” proves nothing. Rotate, then verify.

Step 4: Check Whether You Were Already Compromised

CISA flagged this KEV entry for forensic triage, which is bureaucratic language for a simple idea: don’t just patch and move on — check whether someone already got in. If your HFS ran a vulnerable version while exposed to the internet between September and now, that check is not optional.

Start with the HFS logs. In the admin panel, open the logs and look for:

  • Logins — especially admin logins — from IP addresses you don’t recognize, or at hours nobody on your team works.
  • New accounts, changed permissions, or changed settings you didn’t make.
  • Anything in server_code you didn’t put there.
  • Files in your shared folders that you didn’t upload, or files that appeared, changed, or vanished without explanation.

Then check the server around HFS. On Windows, look at the firewall log and Event Viewer for unusual outbound connections; on Linux, check for unexpected established connections and recently modified files:

# Linux — established outbound connections right now
ss -tn state established '( dport != :80 and dport != :443 and dport != :22 )'

# Linux — files changed in the HFS folder in the last 30 days
find /opt/hfs -type f -mtime -30 -ls

On Windows, the equivalent is a look at netstat -ano for established connections to addresses you don’t recognize, plus a check of the HFS install folder’s modification dates.

What counts as a finding? An admin login from an IP you’ve never seen. A new account. Code in server_code. A webshell — often a small script file sitting in a shared folder or the HFS directory. Sustained outbound traffic to addresses you can’t explain, especially if your server was used as a relay. If you find any of it, assume the server is breached: take a copy of the logs and the HFS folder for evidence, then rebuild the VPS from a known-clean backup or a fresh image, rotate every credential that lived on it, and treat any file it served as untrusted until you’ve checked it. Patching a compromised server without rebuilding it just leaves the attacker’s access in place behind a fixed front door.

If you find nothing, that’s good news, not proof — logs rotate, and a careful attacker cleans up. But a clean log check plus a patched version plus rotated secrets is a reasonable place to stop, and it’s far better than the position most unpatched servers are in today.

Step 5: Harden HFS So the Next Flaw Hurts Less

This is the fifth critical flaw in this patch series in six weeks, and the lesson of all of them is the same: the patch is urgent, but the setup decides how bad the next one is. Five changes make HFS dramatically harder to exploit the next time a flaw like this appears:

Don’t expose the admin panel to the internet. This is the single biggest one. The admin panel is the prize in this attack, and it doesn’t need to be public. Bind HFS to localhost and reach the admin panel through a VPN or an SSH tunnel, or put it behind a reverse proxy that requires its own login before HFS ever sees the request. File downloads can stay public; the admin interface shouldn’t be.

Put HFS behind a reverse proxy with TLS. A reverse proxy (Nginx, Caddy, or Apache) in front of HFS gives you HTTPS, clean logs, and a place to add rate limiting and IP restrictions without touching HFS itself. It also means HFS never listens directly on a public port. If you need a refresher on locking down a VPS properly, our guide to securing your VPS walks through the firewall and SSH steps that go with this.

Run HFS as a low-privilege user. If HFS runs as Administrator or root, a code-execution flaw hands the attacker the whole server. Run it as a dedicated, unprivileged account that can read the shared folders and nothing else, and the same flaw buys the attacker far less.

Restrict who can reach it. If only a handful of people use your HFS, restrict access at the firewall to their IP addresses. If that’s not practical, at least restrict the admin paths. A firewall rule costs nothing and turns an internet-wide flaw into a flaw that only your own users can reach.

Keep it updated on a schedule. The difference between the people this flaw hurt and the people it didn’t is a July update. Put a monthly reminder in your calendar to check the HFS releases page, and enable whatever update notification your install offers. A tool you forgot exists is a tool that doesn’t get patched — and this year has shown, over and over, that forgotten tools are exactly what attackers scan for.

If You Can’t Patch Today

Let’s be honest about this: there is no real workaround for CVE-2026-61500. The vendor’s fix is the upgrade, and nothing else closes the flaw. If you can’t upgrade today, your options are all about removing the target, not mitigating the bug:

  • Stop the HFS service. A stopped server can’t be exploited. Your files go offline, but they also stop being an entry point. This is the right call if the server holds anything sensitive and you can’t patch until tomorrow.
  • Block access at the firewall to trusted IPs only. If you must keep it running, restrict inbound access to the IP addresses that actually need it. The attacker can’t exploit a login page they can’t reach.
  • Put it behind a VPN or an access proxy. Cloudflare Access, Tailscale, or a plain VPN moves the login page off the public internet entirely.

What doesn’t work: changing the admin password (the attacker doesn’t need it), hiding the login page behind an obscure port (attackers scan all ports), or telling yourself a small file server isn’t worth attacking. GreyNoise’s GT13 reporting proves the opposite — small file servers are worth attacking precisely because they’re small, forgotten, and useful as relays.

CISA KEV, the December 3 Deadline, and the TYPO3 Listing

A word on what the KEV listing actually is, because it gets misunderstood. CISA’s Known Exploited Vulnerabilities catalog is a list of flaws with confirmed, in-the-wild exploitation. Federal civilian agencies are required to fix listed flaws by the date CISA sets — for CVE-2026-61500, that’s today, December 3, 2026. The catalog is public, and for everyone else it’s the most reliable “patch this now” signal in the industry: if it’s on KEV, attackers are using it, and the grace period is over.

The same November 30 update added a second flaw: TYPO3 CMS CVE-2026-125160, an information disclosure bug (CVSS 6.3) in which error messages leak upload storage paths and the public URL of attacker-uploaded files, potentially enabling cross-site scripting. Its federal deadline is December 14, 2026, and its fix shipped in November. If you run TYPO3 on a VPS, check your version too — but HFS is today’s deadline, and it’s the one being actively exploited for relay attacks.

This is also a pattern worth naming. November’s patch cycle put several KEV-listed flaws in front of VPS owners — we covered the November RDP vulnerabilities, including flaws CISA had already flagged, in our November 2026 RDP vulnerabilities guide. The lesson from all of them is identical: the catalog is the to-do list, and the due date is the deadline.

FAQ

Is Rejetto HFS 2.x affected by CVE-2026-61500?

No. This flaw is in the TypeScript rewrite that began with HFS 3.0.0, and only versions 3.0.0 through 3.2.0 are affected. HFS 2.x doesn’t have the vulnerable code. That said, 2.x is old and unmaintained — if you’re still on it, the right move is to migrate to a current 3.x release, not to stay put.

I installed HFS after July 2026 — am I safe?

Almost certainly, but verify instead of assuming. If you downloaded HFS after the 3.2.1 release in July 2026, you got a fixed version. Open the admin panel and confirm the version number shows 3.2.1 or newer — and while you’re there, update to 3.4.2 anyway, since several releases with other fixes have shipped since.

Does the patch delete my files or my shares?

No. Upgrading HFS replaces the program, not your data. Your shared folders, accounts, and settings live in config.yaml and your files stay where they are. Back up the HFS folder before upgrading anyway — a backup is cheap, and a failed upgrade without one is not.

Can I just block the login page instead of patching?

No. Blocking or hiding the login page doesn’t fix the flaw, it just makes it slightly harder to reach — and “slightly harder” doesn’t stop an attacker with a public proof of concept and an automated scanner. Restricting access at the firewall is a useful temporary measure while you arrange the upgrade, but it’s not a substitute for it.

Was my server hacked if I ran a vulnerable version?

Not necessarily. Running a vulnerable version means you could have been attacked, not that you were. Work through Step 4: check the HFS logs for unknown admin logins, look for new accounts or changes to server_code, and check for unfamiliar files and outbound connections. If you find nothing, patch, rotate your secrets, and move on — but do the check first.

What is server_code, and should I turn it off?

server_code is an admin-only HFS setting that lets you run custom server-side JavaScript — useful for customizing behavior, and the feature the attacker uses to turn a forged admin session into code execution. If you don’t use it, leave it empty. There’s no reason to have it filled in on a server where nobody needs it.

Is there a public exploit for CVE-2026-61500?

Yes. Horizon3.ai published a full technical analysis on September 30, 2026, and a public proof of concept followed within days. VulnCheck reported exploitation attempts in early October, and GreyNoise documented a real compromise on October 2. This is not a theoretical flaw — it has been exploited in the wild for two months.

The Bottom Line

Rejetto HFS CVE-2026-61500 is a solved problem with an unsolved deployment: the fix has existed since July, the exploit has been public since September, attackers have been using it since October, and CISA’s deadline is today. If you run HFS on a VPS, the work is five steps and about half an hour — check your version, upgrade to 3.4.2, rotate the admin password and every secret the server could reach, check the logs for signs someone already got in, and harden the setup so the admin panel isn’t sitting on the public internet waiting for the next flaw.

Do the upgrade today, not this weekend. The servers that got hit were the ones whose owners meant to update and never got around to it — and the campaign GreyNoise documented shows exactly what an attacker does with a forgotten file server: they don’t steal your files, they borrow your server. Patch it, rotate it, check it, and then put a monthly reminder in your calendar so the next critical flaw doesn’t get five months of your inattention. If you run other self-hosted tools on the same VPS, apply the same discipline to them — our PHP2Shell patch guide covers another flaw from the same season, and the pattern is always the same: check the version, apply the fix, rotate the secrets, check the logs.

Leave a Comment

Your email address will not be published. Required fields are marked *