Skip to content
Start with Identity
Identity CVE · Other

CVE-2026-61500Rejetto HFS signs session cookies with a key an attacker can rebuild from login responses

SWI rating: criticalCVSS 9.8CISA KEVActively exploited
Product: HTTP File Server (HFS)Vendor: RejettoCWE-338Disclosed: 2026-07-13Status: Actively exploitedNVD ↗CISA KEV ↗

What broke

Rejetto HFS is a self-hosted HTTP file server with a web admin panel. VulnCheck's advisory, published July 13, 2026 and credited to Zach Hanley of Horizon3.ai, says HFS 3.0.0 through 3.2.0 "derives its session-cookie signing key from the non-cryptographic Math.random() generator and discloses outputs of the same generator to unauthenticated clients during login." An attacker collects a few login responses, reconstructs the generator's state, recovers the signing key and forges a valid administrator session cookie. Admin access then becomes code execution through the server_code configuration feature. HFS 3.2.1 fixes it.

NVD shows the VulnCheck CNA's CVSS 3.1 score of 9.8 (9.3 in CVSS 4.0) and CWE-338 (cryptographically weak PRNG); NVD's own analysis was still pending. GreyNoise reported on November 23, 2026 that an automated pipeline exploited an unpatched HFS server this way from October 2: it harvested session IDs from repeated logins, rebuilt the V8 generator state, forged an admin cookie with allow_session_ip_change:true so it worked from any address, then installed command hooks, added an SSH key for root and turned the box into a relay for later intrusions. CISA added the CVE to KEV on November 30, 2026.

Why it matters

A signed session cookie is only as strong as the key that signs it. Here the key came from the same non-cryptographic generator that produced values HFS handed to anyone who tried to log in, so the "secret" could be calculated rather than stolen. No password was guessed and no cookie was intercepted; the attacker simply minted a session for the administrator. The fix pattern applies well beyond HFS: session keys, CSRF tokens and reset tokens need a cryptographic random source, and nothing derived from that source should be shown to clients.

What to do

  • Upgrade HFS to 3.2.1 or later.
  • Keep the HFS admin panel off the internet, or put it behind a VPN or an authenticating proxy.

After you patch

  • Review the HFS accounts list and configuration for changes you did not make, since a forged admin cookie leaves no failed logins behind.
  • Look for unfamiliar entries in server_code and plugin or middleware hooks, new SSH keys in /root/.ssh/authorized_keys, and admin requests with the user agent Mozilla/5.0 (X11; Linux x86_64) research that GreyNoise linked to this campaign.

Sources

Learn the flaw class · CWE-338

What this class of flaw is: weak or misused cryptography

Keys, hashes or random values are weaker than the design assumes: a broken algorithm, a predictable random number, a key used past its expiry or a missing cryptographic step. Tokens, session IDs and stored credentials built on them can be guessed, forged or cracked.

Key terms: PKI · Certificate Lifecycle Management (CLM) · Secrets Rotation

Attack technique

  • CVE-2026-61500 is an instance of Session cookie theft. A session cookie is a bearer credential that proves nothing beyond possession. Whoever copies it inherits the logged-in session, skipping the password and the MFA challenge that produced it.

In the news

News and analysis on Start with Identity that name CVE-2026-61500 or link this brief, newest first.

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Know a primary source we should add, or a patch status that has changed? Email community@startwithidentity.com. See all briefs in the identity CVE catalog, or volunteer as a CVE Analyst.
Compiled from vendor advisories, NVD, CISA KEV, and public research. CVSS figures can disagree across NVD and the CNA. Confirm affected versions against the vendor advisory before you patch. Independent, community-driven analysis. See the disclaimer.