ctipilot.ch
← Back to the live brief
NOTABLENATOB2research

Check Point breaks out of Cloudflare's Code Mode sandbox through a use-after-free in workerd's native glue — prompt injection to native host code, and a cross-tenant heap read

discovered 2026-08-08 05:13 UTCrun 2026-08-08T0409Z-intel1 sourcesingle-source

The interesting part of Check Point Research's Black Hat disclosure is where the bugs are, not how many there are. All five sit in workerd's own native code — four of them memory-corruption defects in the "glue" layer — the C++ code that marshals data between JavaScript and native implementations — which is the seam that every isolate-based multi-tenant runtime depends on and that JavaScript-level reasoning about sandbox safety does not cover (Check Point Research, 2026-08-06).

Three are worth naming for what they say about the class. An out-of-bounds read in the URLPattern implementation arises from a mismatch between the capture-group count workerd's own parser computes and the count V8's regex engine actually produces. Two use-after-frees come from native-object lifetime management: one in node:zlib's deflateParams(), one in HTMLRewriter's AttributesIterator. The fifth is not a memory-corruption bug at all: a SQL authorization bypass in the Durable Objects storage path that Check Point calls "a classic that leads to arbitrary deserialization" (Check Point Research, 2026-08-06).

Two chains were demonstrated, and the second is the reason this belongs in an operational brief rather than a conference recap. The first is a cross-tenant heap read: one Worker reaching across the shared process heap to read a co-located tenant's secrets. The second starts from a prompt injection into Code Mode — Cloudflare's LLM tool-use feature — and rides the zlib use-after-free out of the V8 isolate into native code execution on the host. Check Point's own framing is that "Because workerd underpins both Code Mode sandboxes and Workers tenant isolation, the findings create sandbox-escape and cross-tenant exposure risk" (Check Point Research, 2026-08-06).

That chain is a concrete instance of something the AI-security discussion usually leaves abstract. Prompt injection is generally reasoned about as a content problem — the model can be made to say or request the wrong thing — with the sandbox as the backstop that bounds the damage. Here the model-controlled code is the input that reaches a memory-corruption bug in the sandbox itself, so the backstop is what fails. Exploitation still requires getting attacker-chosen JavaScript to run inside a Worker, which in the managed platform means being a tenant, and in the Code Mode case means steering the model.

Remediation is uneven in a way that matters. Cloudflare's managed Workers environment has been fixed in production, but "Self-hosted workerd / Code Mode deployments should update to v1.20260619.1", and "As of now, Cloudflare has not assigned CVEs" (Check Point Research, 2026-08-06). Check Point released proof-of-concept code as part of the presentation. For most readers the managed fix means no action; for anyone running workerd themselves the absence of a CVE means no scanner, SBOM tool or advisory feed will surface this — the version check has to be made deliberately. No in-the-wild exploitation is reported.

Triage: no host-side detection concept follows from what is published — the exploitation is in-process inside a runtime that does not expose per-isolate telemetry to its operators, and Check Point describes no post-exploitation artifact. The honest operational content here is the version check and the design lesson, not a hunt.

Because workerd underpins both Code Mode sandboxes and Workers tenant isolation, the findings create sandbox-escape and cross-tenant exposure risk.

Self-hosted workerd / Code Mode deployments should update to v1.20260619.1.

As of now, Cloudflare has not assigned CVEs.

Check Point Research 2026-08-06

Defender actions

  • If you run self-hosted workerd or Code Mode rather than Cloudflare's managed platform, update to v1.20260619.1 — there is no CVE to catch this in a scanner feed and no advisory will arrive through vulnerability-management tooling.

ATT&CK mapping

2 techniques mapped from the cited reporting · MITRE ATT&CK v19.1

Initial Access TA0001
T1190Exploit Public-Facing Application

Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network. The weakness in the system can be a software bug, a temporary glitch, or a misconfiguration.

overlap matrix · ATT&CK page ↗

Privilege Escalation TA0004
T1611Escape to Host

Adversaries may break out of a container or virtualized environment to gain access to the underlying host. This can allow an adversary access to other containerized or virtualized resources from the host level or to the host itself. In principle, containerized / virtualized resources should provide a clear separation of application functionality and be isolated from the host environment.

overlap matrix · ATT&CK page ↗

PROVENANCE

AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.