LLM infrastructure

Cloudflare’s GLM-5.3 served data from another customer. Where did isolation fail?

Your SaaS product prepares renewal briefs from customer contracts. The backend retrieves the right account’s files, calls a hosted model and shows the result to the account manager. The request is authenticated and the database access checks pass. Once the prompt reaches the inference provider, another system decides which working memory the model can use. What happens if that system attaches the wrong context?

Cloudflare reported that 155 responses from its hosted GLM-5.3 model contained data from other customers’ requests between August 27 and September 9, 2026. Cloudflare restored the model on September 9 and published its disclosure on October 26. The company reported that no other Workers AI model was affected.

Follow the prompt into model memory

During prefill, the model processes the input tokens and computes attention state. During decode, it generates output tokens and reuses that state from the key-value cache, or KV cache. Reuse saves work as the response grows. The cache holds model tensors derived from the prompt, so whoever controls which cache the decoder reads also controls part of the context behind the answer.

A serving team can run prefill and decode together, or split them across worker pools to tune time to first token and steady streaming separately. Splitting adds a handoff where the state must reach the right request intact. Keeping the stages together removes that transfer but still requires correct allocation and reuse within shared memory.

Where the boundary failed

Cloudflare’s report describes a mismatch between the deployment’s advertised request capacity and the memory it had available, alongside a defect in error handling. Some requests still produced responses using state associated with other requests. Cloudflare corrected the deployment configuration and ran a patched serving engine before restoring the model.

The disclosure panel identifies Cloudflare Workers AI and GLM-5.3. The timeline marks the exposure window, the September 9 restoration and the October 26 disclosure.
Cloudflare restored service on September 9. Its public report followed on October 26.
The disclosure panel identifies Cloudflare Workers AI and GLM-5.3. The timeline marks the exposure window, the September 9 restoration and the October 26 disclosure.

A useful design question is what the decoder must establish before it emits anything. Give each request an explicit isolation scope and attempt ID. Authorize reuse only inside its allowed scope, and validate that the complete state belongs to the active attempt before opening the stream. If the system cannot establish that, end the attempt with a typed error and release its state.

An admitted request goes from prefill through an ownership and completeness check. Verified state allows streaming. Missing or unauthorized state stops the attempt before output.
Illustrative serving design. Streaming starts only after the worker confirms that the state is complete and authorized for the current attempt.
An admitted request goes from prefill through an ownership and completeness check. Verified state allows streaming. Missing or unauthorized state stops the attempt before output.

Decide what to reject and what to retry

If your team operates inference, validate the supported context size against the actual worker configuration before a deployment takes traffic. At runtime, distinguish a request that exceeds a documented limit from a temporary capacity problem. A client can fix the first by sending less input. The second can be eligible for a bounded retry with a fresh attempt and separately verified state.

Treat intentional prefix reuse as an explicit policy. A shared prefix can save prefill work, but private prefixes need a defined scope across cache keys, workers and reuse paths. If a customer requires dedicated infrastructure, confirm what is dedicated, including workers and caches, and account for the capacity and operating cost.

Isolation checks across the request lifecycle
Serving decisionExpected behaviorEvidence to request or retain
Admit a requestReserve the required capacity or return an explicit error.Deployment check and admission outcomes by serving revision.
Start streamingConfirm complete state for the active attempt and its authorized scope.Verification result and whether output started.
End a failed attemptDiscard its state. Any eligible retry starts with a fresh attempt.Error class, retry correlation and cleanup outcome.

In a staging environment you control, verify the outcomes for successful admission, a failed handoff and a canceled attempt. Use synthetic account data. Check the decision to start output and the state cleanup alongside the response. Record request IDs, outcome and serving revision without putting customer prompts in routine telemetry.

Ask the provider to show where its guarantee ends

If your team calls a hosted API, ask what the offered deployment tier isolates and which serving stages the guarantee covers. Ask how the provider verifies cache ownership and handles incomplete state, which request identifier it needs to investigate, and how it reports an incident’s affected deployment and time window. Retention, training use and runtime isolation each need their own answer.

Your application can still minimize what it sends. For a renewal brief, extract the account’s eligible clauses and attach their source IDs before calling the model. If the route is suspended or its guarantees fall short for that data class, hold the brief for review or route it to a deployment already approved for the same class.

The application authorizes and minimizes input, the inference provider verifies working state, and the application retains the request ID for investigation and controls where the result is used.
The provider verifies inference state. The product team controls which data it sends, where outputs go and what evidence it can use during an investigation.
The application authorizes and minimizes input, the inference provider verifies working state, and the application retains the request ID for investigation and controls where the result is used.

Give the on-call owner a decision they can make

Write down who can pause the route, what features are affected and how pending briefs will be handled. Keep provider request IDs and timestamps so the team can correlate its calls with an incident window. If output is suspect, stop it from feeding downstream records and preserve the necessary evidence under your incident process. Restore the route after the person responsible reviews provider evidence and confirms that the route meets the original data requirements.

Use the same release discipline as an AI agent rollout. For a team evaluating a model provider or operating its own inference stack, tell me about the engineering role and one workload you need to isolate. A concrete starting point is the data you send, where the control boundary sits and what evidence your team can ask for when something goes wrong.

Available for project work

What do you need built?

Tell me what you want to achieve, your current tools and the result you expect. For an existing integration, include an example of what goes wrong.

Send your project brief

Let’s work together

Tell me about your project.

What would you like to build or improve? Share a few details and I’ll get back to you by email.

One PDF, DOCX, TXT, PNG or JPG file, up to 10 MB.

Up to two requests per hour.

Your details, IP address and attachment are sent to me to respond to this request and prevent spam. Your country and region are estimated from your IP address. Please leave out passwords and sensitive personal information. IP Geolocation by DB-IP.

Delivered directly to my inbox.