Rejetto HFS signs admin session cookie with Math.random() (CVE-2026-61500)
In HFS 3.0.0–3.2.0 the session cookie signing key is derived from JavaScript's Math.random(), and the generator's output is exposed to unauthenticated clients during login. Attackers can reconstruct the generator state, forge an admin cookie and execute code via server_code. The flaw is rated CVSS 9.3 and fixed in HFS 3.2.1.
- HFS 3.0.0–3.2.0 affected; fix shipped in 3.2.1
- CVSS 4.0 score 9.3, classified as CWE-338
- Forged admin cookie enables code execution via server_code
- ZoomEye: up to 61,861 HFS matches, versions not identifiable remotely
Read next
Security