Security researchers have reignited concerns around a class of CPU side-channel attacks, demonstrating that remote Spectre attacks can still pose a threat to serverless computing environments such as Cloudflare Workers. The latest analysis shows that speculative execution vulnerabilities, long thought to be mitigated by software patches, remain exploitable under certain conditions.
How Spectre Targets Serverless Runtimes
Spectre, disclosed in 2018, abuses the CPU's speculative execution to access memory that should be off-limits. While initial mitigations focused on browsers and operating systems, the threat resurfaced in cloud and edge computing environments. Cloudflare Workers, which execute customer code on shared hardware, present a unique attack surface. An attacker could craft a malicious Worker that probes cache timing or branch prediction behavior to infer secrets from co-located workloads.
The researchers behind the revisit showed that remote Spectre attacks can succeed even with modern CPU microcode updates and JavaScript engine hardening. The attack relies on precise timing measurements, which are possible over network connections with low jitter. This challenges the assumption that serverless platforms are inherently safer due to short-lived execution contexts.
Implications for Cloudflare Workers Users
Businesses using Cloudflare Workers to serve dynamic content, run APIs, or process authentication tokens should reassess their trust model. While Cloudflare provides isolation at the process level, the shared CPU resources create a covert channel. The following risks are especially pressing:
Cloudflare has acknowledged the issue and recommends customers use its advanced security features such as per-worker process isolation. However, the research suggests that full remediation requires hardware-level changes that CPU vendors have only partially delivered.
Why This Matters
The revival of remote Spectre attacks on Cloudflare Workers signals that side-channel vulnerabilities are not a solved problem. As serverless computing grows, attackers will continue probing for speculative execution weaknesses. For developers, this means sensitive logic should not rely solely on platform isolation. For Cloudflare, the finding pressures the company to adopt stronger defenses, such as constant-time cryptographic operations and stricter cache partitioning. The broader industry must acknowledge that Spectre remains a latent threat in any shared compute environment, not just browsers.
What Comes Next
Security teams should monitor Cloudflare’s advisory channels for updated mitigations. Meanwhile, organizations running confidential workloads on Cloudflare Workers may need to supplement with application-level encryption or switch to dedicated compute instances where available. The research community continues to develop new Spectre variants, making regular vulnerability scanning essential.
The full technical details of the remote Spectre attacks revisited for Cloudflare Workers are available in the associated discussion thread.



