Remote Spectre attack can leak 12 bits/s with 99 % accuracy on Cloudflare Workers
A remote Spectre attack can reliably exfiltrate data at a rate of up to 12 bits per second with 99 % accuracy in the production Cloudflare Workers environment.
Security & privacy Cloudflare Research 19 Aug 2026 Attack Real-world evidence
Published as “A revisit of remote Spectre attacks on Cloudflare Workers”
Why it matters
The work shows that existing in-process Spectre mitigations can be bypassed in a real cloud edge environment, prompting stronger isolation and detection measures.
Summary
The team rebuilt a remote Spectre proof-of-concept on Cloudflare Workers and demonstrated that, despite the Dynamic Process Isolation (DyPrIs) defense, they could leak data at up to 12 bits per second with 99 % accuracy. They achieved this by using a speculative type-confusion gadget, tree-based PLRU cache-replacement amplification, and a remote WebSocket timer to overcome noisy production timing. The attack required co-location of attacker and victim isolates, long-lived Durable Object sessions, and careful calibration to counteract CPU load and interrupts. Their findings exposed a detection gap in DyPrIs and led to mitigations including a V8 sandbox, MPK-based in-process isolation, and an improved DyPrIs detector.
What they found 2
- Remote Spectre attack can leak up to 12 bits per second with 99 % accuracy in production.
“we managed to demonstrate a remote Spectre attack reliably leaking up to 12 bit/s with a 99% accuracy in the production environment of Cloudflare Workers.”
- DyPrIs only isolates scripts after invocation finishes, allowing long-lived attacks to complete.
“DyPrIs isolates a script only after its invocation finishes, and the Durable Object keep-alive trick we used in the attack can run for a few hours up to a day.”
Caveats 7
- The authors state that the presented attack is already mitigated in the production system by applied countermeasures.
- Higher leakage rates are possible only at the cost of reduced accuracy.
- The V8 sandbox removes the raw 64-bit pointer gadget, limiting the specific attack variant.
- Attack requires co-location of attacker and victim isolates in the same process on the same edge server.
- Successful exploitation depends on a reliable remote timer and repeated measurements to overcome noisy timing.
- CPU utilization and interrupts can slow the attack, though it remains feasible under high load.
- DyPrIs detection evades the attack by normalizing branch mispredictions with iTLB activity from the remote timer.
What’s new here 4
- Updated remote Spectre PoC works on the current Cloudflare Workers production stack despite DyPrIs.
- Demonstrated a leakage rate of up to 12 bits/s with 99 % accuracy using tree-based PLRU amplification and a remote timer.
- Identified a limitation in DyPrIs where post-execution isolation and iTLB normalization let the attack evade detection.
- Deployed mitigations: V8 sandbox, hardware-assisted MPK isolation, and an enhanced DyPrIs that handles long-lived I/O-heavy Workers.