Cloudflare Workers’ in-process sandbox can be escaped and tenant data stolen
Check Point Research claims that vulnerabilities in workerd allow sandbox escape and cross-tenant secret leakage in Cloudflare Workers.
Security & privacy Check Point Research 6 Aug 2026 Disclosure Prototype evidence
Published as “When Agentic Glue Melts: Exploiting Cloudflare Code Mode and Workers”
Why it matters
The findings demonstrate that Cloudflare Workers’ isolation model can be bypassed, exposing tenant secrets and allowing native code execution on the edge host.
Summary
The researchers examined Cloudflare's Code Mode runtime, workerd, and found five memory-corruption bugs in its native C++ glue layer. Two of these bugs were chained into full exploits: an out-of-bounds read in URLPattern that lets a malicious Worker read another tenant's memory, and a use-after-free in node:zlib that enables a sandbox escape to native code on the host. The exploits were demonstrated on self-hosted workerd builds; Cloudflare has patched the managed service but the self-hosted version required an update. Evidence consists of PoC code and detailed analysis, but no large-scale real-world impact data.
What they found 3
- HTMLRewriter attributes iterator use-after-free
“HTMLRewriter AttributesIterator UAF”
- KV SQL authorizer bypass leading to arbitrary deserialization
“KV SQL bypass → arbitrary deserialization”
- Both URLPattern implementations contain the same out-of-bounds read
“The same bug is in both implementations, and the Ada one reaches production.”
Caveats 5
- The cross-tenant secret-leak exploit was only verified on the self-hosted version of workerd; the authors did not run it on Cloudflare production.
- The sandbox-escape chain relies on the V8 sandbox being disabled, which is not the case in Cloudflare’s production environment.
- Exploits were demonstrated on self-hosted workerd builds, not on the managed Cloudflare service.
- The sandbox-escape requires the V8 sandbox to be off; with the cage on the same technique would not work as-is.
- One URLPattern variant (urlpattern_original) does not trigger on production due to an additional check.
What’s new here 4
- Discovered five native memory-corruption bugs in workerd, the runtime behind Cloudflare Workers and Code Mode.
- Built two end-to-end exploits: cross-tenant heap read and Code Mode sandbox escape to host RCE.
- Showed that Cloudflare’s V8 cage and MPK protections do not cover the tcmalloc heap used by workerd’s glue layer.
- Provided mitigation guidance and a patched version (v1.20260619.1) for self-hosted deployments.