The report
Distributed SGLang inference workers relay internal control operations between listeners, including cache flushes, profiling and state changes. Until a November 21 patch, the /internal/peer route did not independently authenticate the peer as part of the same launch. In a configuration that exposed the route, an outsider with network reachability could attempt to send the protocol's internal control messages.
The merged upstream change adds a per-listener token distributed through startup coordination and presented in x-sglang-peer-token. Before dispatching the relayed message, each listener checks the token using constant-time comparison. A token intended for another listener is rejected, and the token is excluded from serialized deployment information.
The internal control plane had different authority from the public API
User-facing inference authentication does not automatically protect a listener-to-listener relay path. The same server may contain public model requests, administrative endpoints and internal replication messages, each requiring its own authorization conditions. In the vulnerable arrangement, reachability of the relay listener was an important precondition; neither an authenticated model prompt nor the absence of an administrative UI established that a relayed control action was permitted.
The new check aims to make membership of the current launch a prerequisite for an internal control call. It does not replace the existing route-level authorization mapping or eliminate the need for network isolation around inference-worker processes. The PR also records regression tests for guessing a token, using a different rank's token and reaching relayed routes without authorization.
Scope before deployment claims
The source verifies a merged code change and its tested behavior, not a first packaged safe release or evidence of criminal misuse. The Case treats affected multi-rank configuration, listener exposure and release adoption as separate facts that operators must establish before claiming a particular deployment was vulnerable or remediated.