Summary
Rejetto HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generator. It also discloses outputs of the same generator to unauthenticated clients during login (CWE-338). By collecting a small number of login responses, an attacker can reconstruct the generator state, recover the signing key and forge a valid administrator session cookie.
Per the CVSS vector (9.8, critical), the attack is network-based and low complexity, with no authentication or user interaction required. The attacker gains full administrative access and, via the server_code configuration feature, remote code execution. This results in full compromise of confidentiality, integrity and availability.
The vulnerability is listed in the CISA KEV catalog (added 2026-11-30, due 2026-12-03), meaning it is actively exploited. Patch urgently. EPSS is about 2.3% (84th percentile).
Who is affected
Any organization running Rejetto HFS versions 3.0.0 through 3.2.0, especially internet-facing instances.
What to do
- Urgently upgrade Rejetto HFS to version 3.2.1 or later (https://github.com/rejetto/hfs/releases/tag/v3.2.1).
- Inventory all HFS instances and their versions and check whether they are reachable from the internet. Until patched, restrict access via firewall or VPN, or take the service offline if that is not possible.
- After upgrading, invalidate all existing sessions and rotate administrator passwords.
- Review the server_code configuration and login logs for unauthorized changes or suspicious admin sessions, and perform forensic triage per CISA guidance.
Actively exploited (CISA KEV)
- Added to the catalog
- 30/11/2026
- Remediation due (CISA)
- 03/12/2026
- Required action
- Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
- github.com/rejetto/hfs/releases/tag/v3.2.1 patch
- www.vulncheck.com/advisories/rejetto-hfs-session-forgery-via-predictable-signing-key
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.