Cross-request KV cache exposure in the GLM-5.3 Workers AI model (155 responses)
blog.cloudflare.com ·
Cloudflare remediated a tenant-isolation flaw in its Workers AI deployment of Z.ai’s GLM-5.3 model after security researcher Gadi Evron of Knostic reported it through HackerOne on September 8, 2026. From the model’s August 27 launch until September 9, 155 responses to prompts exceeding 681,280 tokens contained data from other customers’ recent requests to the same model. Cloudflare found no evidence of deliberate exploitation and said the affected request timing and volume matched ordinary long-context use.
The flaw combined a Cloudflare configuration error with a bug in the SGLang inference engine’s disaggregated prefill/decode processing. GLM-5.3 accepted a 1,048,576-token context window, but its prefill KV-cache pool held only 681,280 tokens. For over-limit prompts, SGLang replaced the request with a one-token placeholder yet passed it to decode as completed; decode then read stale KV-cache pages left by earlier requests and could generate responses containing their data.
Cloudflare made GLM-5.3 private on September 9, corrected the pool to about 2.04 million tokens, deployed an engine patch, and restored public access that day. It applied related hardening to all SGLang deployments. SGLang released fixes in versions 0.5.20 through 0.5.22; Cloudflare recommends operators of disaggregated SGLang deployments use v0.5.22 or later.
What people are saying
The thread treats this as a serving-stack security failure, not a failure of GLM-5.3 itself.
What readers liked
- The postmortem earns rare trust by plainly tracing the leak to deployment capacity, cache handling, and missed tests instead of hand-waving around a…
- Swiftly taking the affected endpoint offline showed that the platform can halt unsafe AI serving before a long remediation cycle turns a leak into a…
Concerns raised
- Cross-request KV-cache contamination is a serious tenant-isolation breach: another user’s prompts or generated context can surface in an unrelated…
- Advertising a million-token context while prefill cache held far less created a dangerous edge case the team already knew existed, then relied on…
Read full discussion analysis
Source: Hacker News · Based on 12 sampled comments · Analyzed
Discussion overview
The thread treats this as a serving-stack security failure, not a failure of GLM-5.3 itself. Commenters focused on a cross-tenant KV-cache leak caused by inadequate session isolation, a cache-capacity mismatch, and an SGLang failure to safely handle the resulting condition. The clearest practical lesson was brutal: a shared inference endpoint can expose one customer’s context to another if GPU memory and cache bookkeeping go wrong, so highly sensitive workloads may require dedicated infrastructure rather than faith in multitenancy.
Several readers objected to the title because it foregrounded the model even though the root cause sat in Cloudflare’s deployment and serving software. The provider’s response persuaded some that naming the affected endpoint was appropriate disclosure rather than blaming the model author. People also praised the unusually candid incident report: it acknowledged that the team knew the advertised million-token context exceeded available prefill cache, explained why tests missed it, and described rapidly disabling the endpoint. Still, that transparency sharpened rather than erased alarm: unrelated API outputs reported by users now look less like mysterious model behavior and more like possible isolation failures. The discussion ends with an uncomfortable open question over whether truly single-tenant inference is even readily available.
Points of disagreement
The sharp dispute is whether the incident should be branded around GLM-5.3. Critics argue that attaching the model name misdirects blame from Cloudflare’s configuration and SGLang’s unsafe cache handling, potentially tarnishing an uninvolved model vendor. Defenders argue that customers need the precise affected Workers AI endpoint identified, and that the disclosure explicitly assigns the technical fault to the serving platform rather than the model.
What readers liked
- The postmortem earns rare trust by plainly tracing the leak to deployment capacity, cache handling, and missed tests instead of hand-waving around a security incident.
- Swiftly taking the affected endpoint offline showed that the platform can halt unsafe AI serving before a long remediation cycle turns a leak into a prolonged exposure.
- Calling out the precise affected inference endpoint gives API customers actionable scope, even if the underlying model was not responsible for the flaw.
Concerns raised
- Cross-request KV-cache contamination is a serious tenant-isolation breach: another user’s prompts or generated context can surface in an unrelated AI request.
- Advertising a million-token context while prefill cache held far less created a dangerous edge case the team already knew existed, then relied on the engine to reject safely.
- Reports of inexplicably unrelated API responses make this failure mode feel broader than a theoretical exploit and undermine trust in shared LLM hosting.
- Shared GPU inference exposes a hard truth for sensitive AI workloads: logical tenancy is only as strong as the cache and memory isolation beneath it.
Keep reading
Sources and details
blog.cloudflare.com · Published
Cross-request KV cache exposure in the GLM-5.3 Workers AI model (155 responses)
Read report →
Community analysis available for 1 of 1 linked discussions.
Additional discussion searches are still incomplete.
Coverage details and dates
Latest available community analysis:
Summaries: 1 current · 0 awaiting update · 0 not verified
Latest summary update:
Hacker News · blog.cloudflare.com