Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

IncidentAI-enabled attacks

Rejetto HFS: a flaw Anthropic's Mythos found and wrote an exploit for is now attacked in the wild

CriticalRejetto HFSHorizon3.aiAnthropic

Rejetto HTTP File Server (HFS) 3.0.0 through 3.2.0 derived the key that signs its session cookies from JavaScript's Math.random(), a non-cryptographic generator, and its login endpoint leaked raw outputs of that generator. Horizon3.ai published on September 30 how Anthropic's Mythos model, which it uses through Project Glasswing, spotted both problems, recovered the generator's state with the Z3 solver and wrote a working exploit that forges an administrator's session and runs code through the server's built-in administrative features. The flaw is CVE-2026-61500, fixed in HFS 3.2.1 on July 13. VulnCheck's Patrick Garrity began detecting exploitation the next evening against vulnerable hosts in the US and Japan, and on October 2 saw four hits from two US addresses that appeared to be a proxy (where the first attacks came from is in the attribution note). The Register counts it as the second Anthropic-linked vulnerability known to be exploited in the wild. Whether the attackers used AI is not known. VulnCheck describes the activity so far as small-scale reconnaissance from a single IP address probing its sensors in Japan and the US, and has added the flaw to its own exploited vulnerabilities catalog; it is the second actively exploited HFS flaw, after CVE-2024-23692.

Replay the attack step by step in the Learning Center

How it happened

  1. HFS derived the key that signs session cookies from Math.random(), whose xorshift128+ output can be reversed.
  2. The login endpoint sent raw generator outputs to the client, enough to recover the generator's state with a constraint solver.
  3. With the state, an attacker computes the signing key, forges an administrator session and uses the server's administrative features to run code.

Impact

Administrator access and remote code execution on any reachable HFS 3.0.0 to 3.2.0 server, with no credentials.

The fix

Upgrade to HFS 3.2.1 or later, and check servers that were reachable from the internet for unknown administrator sessions and changes, since exploitation has started.

Lessons

  • A detailed write-up of an AI-found bug is also a blueprint: attacks began about a day after this one was published, more than two months after the fix shipped.
  • Rank patches by evidence of exploitation and public exploit details, not by score alone.
  • Keys and session tokens need a cryptographic random generator; anything else can be predicted.

Sources