Case · DiggingBeagle record

SGLang accepts caller-supplied image hash as cache identity in native inference requests

The published reproduction shows an image request reuse cached context from a different image when clients supply misleading multimodal hash identifiers.

Scope

Selected SGLang native multimodal inference cache behavior; cache sharing and actual tenant separation are deployment-dependent.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
AI role
AGAINST AI
Basis and provenance

GitHub issue 44641 records actual wrong-image KV reuse and a two-host cross-client experiment with a controlled image marker, repeated after three cold restarts. The experiment establishes cross-client response contamination in that configuration, but does not establish real victim disclosures, arbitrary cache scans or a merged fixed release.

Assessed Oct 17, 2026 using diggingbeagle.assessment/1.

At a glance

Timeline

  1. Oct 16, 2026
    disclosure

    Public disclosure

Claims & evidence

CLM-SGLANG-MM-ROUTEThe affected behavior is described for the native generation path and an explicit trust-caller hash mode; it is not established for every API route.supported

Basis: reported finding

Link to claim
CLM-SGLANG-MMHASH-CONFUSIONThe issue author reports that supplying an earlier image cache hash with a different image caused response text to reflect the earlier image context.supported

Basis: reported finding

Link to claim
CLM-SGLANG-MM-CROSS-CLIENT-MARKERIssue 44641 reports a two-client test where a second client supplied a different image but the earlier client's declared hash and received text derived from the first client's cached image. The reporter also reproduced wrong-image reuse after three cold restarts.supported

Basis: reported finding

Link to claim

Implications

Caller declarations of content identity should not determine the retrieval of confidential cached context without independent verification and tenant scoping.

Controls and mitigations

  • Recompute the cache identity from received multimodal bytes by default and isolate reuse by caller or tenant as appropriate. Do not allow request-controlled mm_hashes to select another client's content.
  • Review upstream PR 44653 separately from deployed releases; its opt-in trust-caller flag and mock-unit tests are not yet end-to-end GPU or production-fix verification.

Unknowns and contradictions

  • No measured real-world affected tenant count or arbitrary cache exfiltration.
  • Confirm commit-level fix and default settings before listing a fully remediated version.

Sources and citation

Material revision history

  1. Oct 17, 2026 · Canonical change recorded · new in release · revision 163