TL;DR: Between August 27 and September 9, 2026, 155 responses from the GLM-5.3 model on Cloudflare Workers AI contained data from other customers’ requests, all of them to prompts longer than 681,280 tokens. Cloudflare corrected its configuration and patched SGLang, the inference engine it uses, and recommends SGLang v0.5.22 or later to every operator running it.

On September 8, a security researcher, Gadi Evron from Knostic, reported through Cloudflare’s HackerOne program that very long prompts sent to @cf/zai-org/glm-5.3 on Workers AI sometimes came back with text from other users’ sessions. Cloudflare reproduced it the next morning, took the model offline, and restored it the same day with a corrected configuration and a patched build of SGLang. Their incident write-up was published on October 26, alongside a post from the SGLang side.

Workers AI offered GLM-5.3 with a context window of 1,048,576 tokens. The KV cache pool on the prefill GPUs had room for 681,280. The context length is a number someone writes into the deployment config. The pool size is worked out by SGLang at startup, from whatever GPU memory is left after the weights load, so a change of quantization or parallelism moves it. Cloudflare knew about the gap before launch, and expected the engine to return an error for any prompt that did not fit.

A prompt longer than the pool

When a prompt over the pool size arrived, SGLang’s scheduler did reject it. The rejection path records the error the client should receive and replaces the prompt with a one-token placeholder, so the request can drain through the normal batch machinery without allocating real memory. On a single machine this works: the placeholder runs, the batch finishes, and the client gets its error.

Workers AI runs GLM-5.3 with prefill and decode on separate machines. One pool of GPUs does prefill, reading the prompt and building its KV cache, and another does decode, generating the reply; the cache moves between them over RDMA (remote direct memory access). In that mode the admission queues on both sides checked whether a request was finished, not whether it had been rejected. A rejected request stored its rejection in a field called to_finish. finished() reads finished_reason instead, so it returned False, and the request went through both queues as if it were live.

The KV cache is the memory that holds keys and values for every token the model has read, and SGLang hands it out in pages. Cloudflare’s report walks through the failure with a prompt that needs eight of them. The router tells the decode node how long the prompt is, and decode reserves eight pages for it. Prefill has already swapped that prompt for its placeholder, so it runs a forward pass on one token, sends one page of KV across, and signals that the transfer is complete. Decode accepts the handoff and starts generating, and attention reads all eight pages it reserved. Only page P0 holds anything this request wrote. Pages P1 through P7 still hold what earlier requests left there: other users’ prompts and partial generations (pages are not zeroed between requests; the next request to get one simply overwrites it).

What reached the client looked like an ordinary answer: HTTP 200 where it should have been a 400, a prompt_tokens count that matched the long prompt, and a coherent reply. The reply arrived faster than prefilling eight pages should take, and it contained content from other users’ KV pages.

Testing and fixes

The benchmarks Cloudflare ran on long prompts before launch saw the same thing: successful status codes and a streaming body with no error frames. Their write-up calls it “one critical gap in our testing”: they checked response codes and performance, but never the output.

GLM-5.3 was the only Workers AI model affected. Every other deployment there that splits prefill and decode had a pool larger than its context length, so no request could reach the rejection path. SGLang prints the KV pool it selected in its startup log and exposes it as a metric, and Cloudflare now compares that figure with the context length, read from the running engine, before it ships any change to such a deployment. The same comparison is the first item on the list they give other operators: measure the pool on every prefill and decode node after each change that could move it, and lower the context length if the pool is smaller.

SGLang v0.5.22 or later adds a backstop in the engine: a request that is too long is rejected before prefill hands it to decode, whatever the pool size. Cloudflare’s write-up says fixes like these reduce the ways a page can be misused, but do not make misuse impossible. What it calls the durable answer is for the engine to notice, at the moment decode reads the cache, that a request is about to attend over a page it does not own, and fail that one request instead of returning someone else’s data.

Upstream SGLang already has a checksum, switched on by a flag, that validates the KV handed from prefill to decode, but not the reads that come after it. When Cloudflare published on October 26, they were working with the SGLang team to build the read-time check into the engine, for every model.

The problem was found through an outside researcher’s HackerOne report and closed the next day with a corrected configuration and a patched engine. This post summarises Cloudflare’s incident report; corrections are welcome.