Cloudflare's GLM-5.3 served other customers' prompts in 155 responses, and half the cause was a config gap it knew about
For 13 days, very long prompts to GLM-5.3 on Workers AI could return fragments of other customers' prompts and outputs. Cloudflare traced it to an undersized KV cache pool plus an SGLang bug. Teams running disaggregated SGLang need v0.5.22 or later.
Hosted inference rests on one quiet promise: your prompt stays yours. Cloudflare disclosed on October 26 that its GLM-5.3 deployment on Workers AI broke that promise for a small set of requests, returning fragments of other customers’ prompts and partial generations in 155 responses. The scale was small and Cloudflare reports no sign of deliberate exploitation. The cause is the part worth studying, because it came from a serving-engine path and a configuration choice that other operators share.
What happened
Between August 27 and September 9, 2026, some responses from @cf/zai-org/glm-5.3 contained data from other users’ requests made shortly before. Every affected response came from a prompt longer than 681,280 tokens. Cloudflare says no other Workers AI model was affected. Security researcher Gadi Evron of Knostic reported the behavior through Cloudflare’s HackerOne program on September 8, and Cloudflare took the model private the next day, restoring it later on September 9 after mitigation.
Two problems combined. Cloudflare advertised GLM-5.3 with a 1,048,576-token context window, while the KV cache pool on its prefill GPUs (the memory that holds the model’s working state for each prompt) only had room for 681,280 tokens. Cloudflare writes that it “was aware of this mismatch before launch.” On its own, that should only have caused oversized requests to be rejected.
The second problem turned rejection into exposure. Workers AI runs GLM-5.3 on SGLang in disaggregated mode, where one set of GPUs processes the prompt (prefill) and a separate set generates the output (decode). When SGLang rejected an over-length prompt in that mode, it swapped the prompt for a one-token placeholder, and the admission queues checked whether a request was finished rather than whether it had been rejected. The request moved on to decode, which then read stale cache pages still holding earlier users’ data.
The upstream record is public
The engine side of this is independently documented. SGLang issue #30233, opened on July 6, describes aborted over-length prefill requests causing decode “to generate garbage from incomplete KV cache,” which is the same path framed as a correctness bug rather than a confidentiality one. The fixes Cloudflare cites, pull requests #36988 and #38935, merged on September 6 and September 16 and shipped in SGLang v0.5.20 and v0.5.21.
The SGLang maintainers’ own advisory adds scope that Cloudflare’s post does not. It says the race affects disaggregated prefill/decode deployments that use a KV transfer backend (Mooncake, NIXL, or MORI), dating back to default configurations in the v0.4.x line from early 2025. Single-instance deployments without that cross-engine path are not affected by this race. Fixes were not backported to older branches.
What self-hosters should check
For teams running SGLang in disaggregated mode, the guidance is specific:
- Upgrade: v0.5.21 or later for Mooncake and NIXL, v0.5.22 or later for MORI, and v0.5.23 or later for the follow-up fix on failed NIXL and MORI sends. Cloudflare recommends all operators move to at least v0.5.22.
- Compare pool size to context length: on every prefill and decode node, the KV pool should hold the full advertised context. If it cannot, lower the context length rather than relying on rejection paths.
- Enable deferred KV release: on v0.5.19 and v0.5.20, SGLang advises setting
SGLANG_DISAGGREGATION_DEFERRED_DECODE_KV_RELEASE=1on both roles. From v0.5.21, Mooncake and NIXL deployments get the protection by default. - Consider the transfer checksum:
--disaggregation-enable-kv-checksumadds an integrity check on transferred cache data. It is off by default because it costs GPU reads and a synchronization point.
Cloudflare’s fix went beyond the upstream patch. It raised the prefill pool to about 2.04 million tokens, enough for the full context window, and changed its load balancer to avoid triggering unnecessary aborts.
What it means for teams buying inference
Most developers calling a hosted model never see the serving engine, and this incident shows why that layer still matters. Workers AI’s data-usage page states that Cloudflare does not make customer content “available to other Cloudflare customers,” and that commitment depended on an engine-level detail most buyers would never think to ask about. Cloudflare’s post does not say whether affected customers were notified individually, so teams that sent very long prompts to GLM-5.3 in that window may want to ask.
The lesson is less about Cloudflare specifically than about how open-weight inference now works. Many large-context deployments now split prefill and decode across hardware to make million-token contexts affordable, and that split adds a handoff where state can leak. When a provider advertises a large context window, it is reasonable to ask how it is served and how isolation is tested at the edges of that window, which is exactly where this failure lived.
- Cross-request KV cache exposure in the GLM-5.3 Workers AI model, and our remediation with SGLang (Cloudflare, October 26, 2026) blog.cloudflare.com
- SGLang security update: improving request isolation (LMSYS Org, October 26, 2026) lmsys.org
- PD disaggregation: aborted prefill requests cause decode to generate garbage from incomplete KV cache (sgl-project/sglang issue #30233) github.com
- Cloudflare explains KV cache leakage between requests in the GLM-5.3 Workers AI model (GIGAZINE) gigazine.net
- GLM-5.3 now available on Workers AI (Cloudflare changelog) developers.cloudflare.com
- Workers AI data usage (Cloudflare docs) developers.cloudflare.com