Skip to content
Info disclosure Write-up Advanced

Cross-request KV cache exposure in the GLM-5.3 Workers AI model, and our remediation with SGLang

A misconfigured KV cache pool smaller than the model's context window, combined with an SGLang bug in disaggregated prefill/decode mode, meant over-length prompts were silently replaced with a one-token placeholder while decode still read stale cache pages. As a result, a small number of users received responses containing data from other customers' earlier requests to the same model.

Kevin Flansburg Follow

Published on blog.cloudflare.com

On September 8, 2026, we were alerted by a security researcher, Gadi Evron from Knostic, to a tenant isolation issue affecting the GLM-5.3 Workers AI model (@cf/zai-org/glm-5.3) starting on August 27, 2026. We have remediated the issue, and we restored the model on September 9.

Kevin Flansburg, on blog.cloudflare.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a rejected over-length request was admitted anyway because the admission queues checked whether a request was finished rather than rejected, so prefill transferred only a placeholder's cache while decode attended over pages it never wrote.

Impact

A small number of customers received responses containing fragments of other customers' prompts and partial generations; the text says 155 responses were affected and no deliberate exploitation was found.

What the attacker needed

Prompt longer than 681,280 tokens; affected model deployment

The fix

The configuration was changed so the pool holds roughly twice the context length, and the engine was patched to retire rejected requests before any transfer, with upstream releases in SGLang v0.5.20 to v0.5.22.

How it was found

  1. Send a prompt longer than the prefill KV pool can hold to the affected model.
  2. The scheduler rejects the prompt and swaps it for a one-token placeholder.
  3. The rejected request is still admitted on prefill because it does not report itself as finished.
  4. Prefill runs a trivial pass and transfers one page to decode, signalling completion.
  5. Decode accepts the handoff and generates while reading all reserved pages, most of which hold earlier requests' data.
  6. The client receives a normal successful response containing other users' content.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A language model keeps a working memory of the text it has read so far, called a cache, stored in fixed-size chunks on the graphics card. When a prompt was too long for the space set aside, the system quietly swapped it for a tiny stand-in but still let the response step read the old chunks, which still held other people's text. So some users got answers that mixed in fragments of strangers' conversations.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.