In one line: From 27 August to 9 September 2026, Workers AI's GLM-5.3 endpoint advertised a 1,048,576-token window on a 681,280-token prefill KV pool; prompts over the pool took SGLang's rejection path, which in disaggregated mode still handed decode one token of cache, and decode answered from reserved pages still holding earlier requests' data. Cloudflare counts 155 affected responses; the fix enlarged the pool and retires rejected requests before the handoff, as SGLang's main branch already did two days before the report.
How far to trust it: Believe the mechanism and the fix: SGLang's own source, pull requests and companion post confirm every step. Read 155 as a count of affected replies, method unstated, saying nothing about whose data surfaced; and note that the mismatch was known before launch and the bug public since 6 July. The evidence, judged.
The idea in one sentence: a serving engine reuses KV cache pages without clearing them, so isolation between users rests on its bookkeeping alone; Cloudflare accepted prompts its prefill pool could not hold, SGLang refused them internally yet still completed the handoff to decode with one token of real cache, and decode answered from reserved pages still holding earlier users' keys and values.
You need: paged KV memory, a pool of fixed-size pages handed out and reclaimed by the engine (Batching, KV cache and scheduling in depth, sections 1 and 2); prefill and decode on separate GPUs with the KV cache copied between them (Distributed and disaggregated serving, section 6); SGLang's pool flags (SGLang, section 7).
New terms: KV pool (GPU memory SGLang reserves for KV pages at start-up, sized from what the weights leave free); rejection path (SGLang refusing a request inside the scheduler: record the error, swap the prompt for a one-token placeholder, let it drain through the batch); admission queue (the door each disaggregated worker passes a request through); bootstrap (the router announcing a request's length to decode, which reserves pages); deferred release (keeping an aborted request's pages reserved until no remote write can still land in them).
Predict before you drag: a 700,000-token prompt, pool as launched, engine before the fix. Of the keys and values decode attends over while it writes the reply, how much did this request write itself?
src/recompute.py.For thirteen days, long prompts to one Workers AI model could be answered from other customers' data. GLM-5.3 (@cf/zai-org/glm-5.3) launched on 27 August 2026; on 8 September Gadi Evron of Knostic reported through HackerOne that very long prompts sometimes returned text from other users' sessions. Cloudflare reproduced it the next morning, took the model offline within 40 minutes of declaring an incident, and restored it at 19:40 UTC the same day. In total, 155 responses were affected, all to prompts over 681,280 tokens; no other model was.
Cloudflare reads the traffic as ordinary use, not an attack: outside its own and the researcher's tests, the requests were consistent in timing and volume with ordinary long-context use. The timeline on the right adds what the post mentions only in passing: the engine bug was reported publicly seven weeks before launch, and the change that stops it reached SGLang's main branch two days before the report.
6 July: issue #30233 reports the bug (GLM-5.2, 1M window). 3 August: Cloudflare's post on page-tag integrity checks. Mid-August: tags tested on GLM 5.2, then disabled. 27 August: GLM-5.3 launches with pool 681,280 below window 1,048,576. 5 September: #30233 closed for inactivity; v0.5.19 released without the fix. 6 September: #36988 merged. 8 September 23:11: report. 9 September: incident 13:22, model private 14:00, restored 19:40. 16 September: #38935 and #39500 merged. 18 September: v0.5.20 with #36988. 2 October: v0.5.21, deferred release on by default. 19 October: v0.5.22. 26 October: coordinated disclosure.
The pool and the window are two numbers nothing ties together. SGLang sizes the KV pool from whatever GPU memory remains after the weights load; the advertised context length is a separate setting, and Nothing forces the two to agree. On GLM-5.3's prefill nodes the pool came to 681,280 tokens against a 1,048,576-token window: 65% of it. Why a million-token cache is that large is Long context's calculator.
Cloudflare knew, and expected an error. The pool size is in SGLang's start-up log and metrics, and the gap was known before launch; We expected the engine to return an error, and long-context benchmarks returned HTTP 200. The tests only validated HTTP response codes and engine performance, never the output; by section 3's mechanism those successful tests were most likely answered from other requests' cache too.
The engine did refuse the prompts, inside. Drag the prompt past 681,274 tokens in the figure at the top. The refusal was real; what went wrong is where the refused request went next.
Freed KV pages keep their contents. A request gets pages from a shared pool when admitted and returns them when done, and Pages are not currently zeroed between requests: the next owner overwrites them. That is standard and needed for speed, so the engine's record of who owns which page is the only isolation between users (the block pool: Batching, KV cache and scheduling in depth, section 1).
The rejection path was built for one machine. Req.set_finish_with_abort stores the error in to_finish and swapped the prompt for a one-token placeholder, so the request drains through the normal batch. On a single-node deployment this worked. In disaggregated mode both workers' admission queues ask req.finished(), which reads a different field, finished_reason, so a refused request looked live (schedule_batch.py at v0.5.19, L1359-1361 and L1927-1946):
to_finish, finished() returns False, and the request is admitted.finished() check, the same blind spot: the handoff is accepted.prompt_tokens matching the long prompt, faster than an 8-page prefill could be, and other users' content in it.finished() is False, correctly, and it is admitted.PrefillBootstrapQueue.add now asks whether a request is aborted and holds nothing; this one is, so it is retired with its original error.In the real incident the reservation was thousands of pages. With 64-token pages a 700,000-token prompt reserves 10,938 pages on decode, and one placeholder token was all it wrote, so the reply was conditioned on 699,999 tokens of other requests' leftovers. Every request over the threshold behaved this way: a deterministic path, not a race.
The same bug was already on file. It had been reported to SGLang by another user as issue #30233 on 6 July, on a GLM-5.2 deployment with the same 1,048,576-token window and a 284,928-token pool, root cause traced and a patch proposed; it was closed for inactivity on 5 September. GLM 5.3 was the only model affected because every other deployment had pools larger than its window.
Either change alone closes this path; Cloudflare made both. The configuration took GLM-5.3 to its GLM-5.2 settings, freeing memory for a prefill pool of about 2.04 million tokens, so a prompt that fits the window fits the pool. The engine patch exists because Relying on pool size alone is fragile: quantization, parallelism, CUDA graphs or a new model version all move the pool, so a request with a pending rejection is now retired at the disaggregation admission queue before any transfer. Both were checked against the researcher's script and our own canary-marker tests (a known marker in the prompt that the reply must reflect).
| Change | What it does | Status (27 November) |
|---|---|---|
| Cloudflare config, 9 Sep | Prefill pool about 2.04M tokens | In production |
| Cloudflare patch, 9 Sep | Retires a rejected request at admission | In production; upstream as #38704 |
| #36988 | Retires an aborted request before its KV reaches decode (written for a failing vision encoder) | Merged 6 Sep; v0.5.20 |
| #38935 | Retires it at both admission doors: "a waste-and-latency fix, not a correctness fix" | Merged 16 Sep; v0.5.21 |
| #38704 | Cloudflare's admission fix plus a transferred-length check | Closed unmerged 10 Oct; length check declined |
The post credits the upstream fix accurately but quietly: The fix was already on SGLang main in #36988. #38935's author is plainer: after #36988 the stale-KV symptom does not reproduce on main, so #38935 only saves a wasted handshake and, when both workers refuse, a 300-second decode timeout.
This incident belongs to a family Cloudflare had been fixing for months: a page is freed, reused, or read while something else still has a claim on it. Inside one decode node, generation, host offload, the transfer receiver and abort paths can all hold a page (Cloudflare's fixes #24226, #30899, #30937). Across nodes, prefill writes KV straight into decode's memory by one-sided RDMA, and the writes already sent cannot be recalled:
The incident's bug was the deterministic cousin of this race: a rejected request went through the handoff every time, with the same result. Deferred release became SGLang's default in v0.5.21, at no measurable throughput cost (within ±2% over 21 runs on 2×H100, SGLang's post).
Deferred release extended to every failure type and to prefill's source pages (SGLang's analysis judged that path already safe); bounded Mooncake transfer batches, so one call cannot outlast the release timeout; a load balancer that no longer aborts on a client disconnect, holding prefill until it finishes and decode until the first token; and a check on every disaggregated deployment change covering pool against window, deferred release on both roles, batch bounds and required patches.
The post's five recommendations for anyone running disaggregated SGLang, the first being the check we did not enforce:
--disaggregation-enable-kv-checksum, --kv-canary), which do not yet cover every model architecture, GLM 5.3 included.The general lesson: test content, not status. A canary marker in a long prompt that the answer must repeat would have failed; a 200 where a 400 was expected, and a reply faster than its prefill could take, were the signs.
Longer term, the engine should refuse to read a page it does not own. In Cloudflare's prototype Every physical KV page carries a tag that changes on reallocation, checked before decode reads; under 1% overhead, tested on GLM 5.2 in mid-August and disabled it shortly afterwards due to reliability issues, about two weeks before GLM-5.3 launched. SGLang's checksum (#39500) checks only the handoff; tags would check every read. Cloudflare also plans to prove its RDMA transfer protocol safe with formal methods.
The mechanism holds up independently of Cloudflare: every step of section 3 is in SGLang's v0.5.19 source, another user reported the same failure in July, #38935's tests cover both doors, and the maintainers' post agrees. The post is candid about the known mismatch and the status-only tests, and unchanged across every archived copy.
What it leaves out or frames generously:
Verdict: believe the mechanism, the timeline and the fix, corroborated by code Cloudflare did not write. Treat 155 as a count of affected replies, not a measure of whose data was exposed, and read the post as an honest account of a known risk accepted at launch rather than an unforeseeable engine bug.
Hacker News (read 27 November): 182 points, 79 comments, most of them arguing that the title names the model rather than the endpoint.
Agrees on the mechanism and credits #36988 with the fix; declined the transferred-length check Cloudflare proposed (both sides compute the length from the same prefill accounting) and judged prefill's source pages already safe. The researcher's report, "available soon", was not found by 27 November.
The post never blames the model; it names it so customers know which endpoint was hit. The title was not changed.
Success where an error was expected should itself have been investigated; the post concedes its tests checked status and speed only.
Says only single prefills over 681k were hit. Wrong by SGLang's code: the check counts the whole prompt, cached or not.
Million-token prompts often carry whole repositories and secrets; the post does not say whether the exposed customers were identified or told.
Not a reply: on working engines, SGLang included, a shared prefix cache lets two models signal through numerical fingerprints (1,221 of 1,221 games with a fine-tuned reader). Per-user cache isolation closes it.
The post was fetched on 27 November 2026 and its main text extracted to src/inputs/article.txt (3,635 words, 16 minutes at 230 words a minute; the 2 November tech-news issue quoted 12). Its metadata gives publication on 26 October 2026 at 22:01 UTC and a modification on 27 October at 08:31. Five Wayback Machine copies (26 October 22:02 UTC, 27 October 04:45 and 09:12, 28 October, 16 November) were extracted the same way: the text is identical in all of them and in the live page, so the modification did not change the prose. Every "in the article" link is a text fragment checked against the extract at build time.
Read on GitHub on 27 November: issue #30233 (body, root cause, proposed patch, closure); pull requests #36988, #38935 and #38704 (descriptions, changed files, comments, merge state); #38935's test file test_admission_abort_not_enqueued.py; draft #46435; SGLang's source at v0.5.19 (schedule_batch.py, tp_worker.py, managers/utils.py) and at v0.5.22 (disaggregation/utils.py is_unadmitted_reject, disaggregation/prefill.py); the release dates of v0.5.11 to v0.5.23. Also read: SGLang's companion post in full; Cloudflare's 3 August post (its integrity-check section); the Cloudflare status incident; the Hacker News item and all its comments through the API (submitted 26 October 22:41 UTC); the LessWrong post via GreaterWrong with its comments.
Figures: the post carries no open licence, so its diagram is redrawn, not embedded, and the hero is computed from the post's numbers and SGLang's source. Not found: the researcher's own report (SGLang's post calls it "available soon"); Cloudflare's own page size, which is why the hero labels 64 illustrative.
Every link opens in a new tab; links checked 27 November 2026. Reading time of the resources below: 2h 59m.
Kevin Flansburg, Michelle Chen (Cloudflare): The post itself (The Cloudflare Blog, published 26 October 2026). Its diagram of the healthy and the rejected handoff (eight pages, the two admission queues) is worth opening there; this page redraws it as a step animation with a third, fixed mode.
(16 min)
Kevin Flansburg, Michelle Chen (Cloudflare): The engine maintainers' half of the coordinated disclosure, published the same day: the admission fix in their words, and most of it on the related race (an aborted transfer's late RDMA writes landing in reused slots), its deterministic reproduction, deferred release, checksums and their measured cost.
(25 min)
182 points, 79 comments (read 27 November 2026), submitted 26 October 2026.
(20 min)
the SGLang team (RadixArk), 26 October 2026, companion post: Agrees on the mechanism and credits #36988 with the fix; declined the transferred-length check Cloudflare proposed (both sides compute the length from the same prefill accounting) and judged prefill's source pages already safe. The researcher's report, "available soon", was not found by 27 November.
(25 min)
kflansburg (Kevin Flansburg, an author), Hacker News, 27 October 2026, author's reply: The post never blames the model; it names it so customers know which endpoint was hit. The title was not changed.
(1 min)
ComputerGuru and yunohn, Hacker News, 27 October 2026, critique: Success where an error was expected should itself have been investigated; the post concedes its tests checked status and speed only.
(2 min)
hedgehog, Hacker News, 27 October 2026, reader's reading: Says only single prefills over 681k were hit. Wrong by SGLang's code: the check counts the whole prompt, cached or not.
(1 min)
alxsm, Hacker News, 27 October 2026, question: Million-token prompts often carry whole repositories and secrets; the post does not say whether the exposed customers were identified or told.
(1 min)
Niranjan Deshpande and David Africa, LessWrong, 19 November 2026, related research: Not a reply: on working engines, SGLang included, a shared prefix cache lets two models signal through numerical fingerprints (1,221 of 1,221 games with a fine-tuned reader). Per-user cache isolation closes it.
(11 min)
23 October 2026: The last fix in SGLang's disclosure timeline, merged 23 October and listed in the v0.5.23 release notes (2 November): the race's protection for the two transfer backends #43719 did not cover.
(5 min)
17 November 2026: Opened by Kevin Flansburg on 25 October (an opt-in flag that zeroes freed pages, so a read of a page a request does not own returns zeros, not another request's KV; MLA and DSA pools only) and closed unmerged on 17 November. No merged zero-on-free by 27 November.
(5 min)
10 October 2026: Closed unmerged on 10 October; #38935 took its admission approach, and the transferred-length check it added was declined upstream.
(10 min)
an SGLang user, 6 July 2026 (third-party): The same bug, reported seven weeks before the launch on a GLM-5.2 deployment with a 1,048,576-token context and a 284,928-token pool, with the root cause traced line by line and a proposed patch; closed for inactivity on 5 September.
(10 min)
SGLang, merged 6 September 2026 (maker): Written for a failing vision encoder, not this incident; it retires an aborted request when its prefill result returns, so its stub KV never reaches decode. The change that stops the exposure, released in v0.5.20 on 18 September.
(15 min)
SGLang, merged 16 September 2026 (maker): Retires a rejected request at both admission doors. Its description calls itself "a waste-and-latency fix, not a correctness fix": after #36988 the stale-KV symptom no longer reproduced on main. Its tests cover the doors, re-entering preempted requests, and single-node mode left alone.
(15 min)
Cloudflare, 3 August 2026 (maker): The earlier post describing the disaggregated GLM deployment and the page-tag integrity check (under 1% overhead), which the incident post says was disabled after mid-August tests.
(15 min)
Cloudflare, 9 September 2026 (maker): The public notice during the incident: investigating at 14:25 UTC, identified at 15:02, resolved at 20:09; it speaks of errors on GLM 5.3, not of data exposure.
(2 min)
Qin et al., FAST 2025 (third-party): The transfer engine between Cloudflare's prefill and decode pools, and the design it comes from.
(1 hour)
Owns paged attention, the block pool and its free list, admission and preemption: the machinery whose bookkeeping failed here.
Owns splitting prefill from decode and the KV transfer between them (section 6), the handoff this bug went through.
Owns SGLang as a system: its pool flags (--mem-fraction-static, --max-total-tokens), transfer backends and versions.
Owns KV cache sizing: why a million-token window needs a pool that large, and what it costs per token.
Owns the agent's threat model; this incident sits one layer below it, in the shared inference server every agent's prompts pass through.
This page is one of the Articles: articles worth a page of their own, each with its argument, its evidence judged and what others replied.