Cross-request KV cache exposure in the GLM-5.3 Workers AI model (155 responses)
86 points by wondersky 5 hours ago | 23 comments
kami23 4 hours ago
I like this RCA a lot more than most. I appreciate the ownership and clear explanation of why their testing did not catch this bug.
replyAlso impressed with the speed to address the issue unplug the model and then pretty quick remediation, the speed to remediation matters less to me, but good to see they can act quickly on their platform to kill the serving of the model.
segmondy 3 hours ago
"We deployed GLM 5.3 with a 1,048,576-token context window, but the KV cache pool on our prefill GPUs only had room for 681,280 tokens. We were aware of this mismatch before launch. "
replyDid they advertise it as 1,048,576 token when they only had room for 681,280 tokens?
weird-eye-issue 2 hours ago
Next sentence: "We expected the engine to return an error for any prompt it could not process, and our long-context tests returned successful responses, so we did not believe this to be an issue."
replyjacquesm 38 minutes ago
Which is pointing the finger at Sglang, who also weren't responsible for this.
replyAt a minimum someone should have realized during testing that their utilization figures are off by 40%.
A much better title would be "Cloudflare configuration error leaked data between user sessions"
segmondy 43 minutes ago
Doesn't matter, they could have marketed it as 1 million token window, you would then infer, get to 600k and get an error. You won't be able to finish your work, and you won't get credit for 600k tokens.
replyfreakynit 2 hours ago
Bro, I had to read this sentence in the context of the previous one, 3 fcking times.. and it sill does not make any sense to me.
replyGraziano_M 37 minutes ago
Sounds like they are saying they tested with a long prompt and just tested for a failure, but the test likely would have seen that same KV cache leakage and just interpreted it as success.
replythehamkercat 4 hours ago
Other providers probably don't even know/care that this is happening
reply8cvor6j844qw_d6 4 hours ago
Interesting. That might explain the few times I've received completely unrelated responses from a certain provider's API.
reply0xbadcafebee 4 hours ago
I kind of forgot about the shared tenancy attack model. I think I was assuming/hoping the software was magically isolating my tokens, when in reality that's impossible for shared tenants. There's whole classes of attacks on things like shared cache, before we get to the LLM-specific features and potential bugs. Enterprises with highly sensitive data should really be on non-shared hosts.
reply
This is an SGLANG and a Cloudflare bug long before it is a Z.AI model bug, I don't see what they could have done about it. Cloudflare should own it instead of naming other (imo innocent) parties in the title.
There's a huge amount of unnecessary extraneous details in the headline that distract from "this is a Cloudflare bug".