CVE-2026-111392

SGLang through 0.5.21 KV Cache Poisoning via mm_hashes in /generate

Published Oct 16, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
SGLang through 0.5.21 trusts caller-supplied mm_hashes values as the multimodal prefix-cache key, allowing remote attackers to poison cached KV entries across requests. Attackers can send a different image under a known or predicted hash via /generate to disclose another request's image content or corrupt victims' responses.

Analysis

AI-generated

Technical impact

SGLang through 0.5.21 allows an attacker to supply arbitrary mm_hashes values that are used as the multimodal prefix‑cache key. This results in key collision and cache poisoning so that a second request can retrieve, view, or alter the image associated with an earlier request. The vulnerability enables a remote adversary to read secret image data or corrupt model responses for other users, potentially leaking sensitive visual content. There is no direct code execution or privilege escalation. The core weakness is a data‑basing flaw that causes unintended data exposure via the cache.

Affected Systems

sgl-project SGLang versions up to and including 0.5.21 are affected. The vulnerability is tied to the /generate endpoint of the SGLang library used in multimodal workflows.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity exploitation path. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Attack likely requires remote access to the /generate HTTP endpoint and knowledge of the prefix‑cache key scheme to poison the cache. Once poisoned, the attacker can read or tamper with another user’s cache entries across subsequent requests.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SGLang to a version newer than 0.5.21 where the mm_hashes handling is hardened.
  • Restrict access to the /generate endpoint or impose authentication so that only trusted clients can send mm_hashes values.
  • Validate or sanitize mm_hashes inputs to ensure they do not create unintended cache key collisions.

Generated by OpenCVE AI on October 16, 2026 at 19:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sgl-project
Sgl-project sglang
Vendors & Products Sgl-project
Sgl-project sglang
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SGLang through 0.5.21 trusts caller-supplied mm_hashes values as the multimodal prefix-cache key, allowing remote attackers to poison cached KV entries across requests. Attackers can send a different image under a known or predicted hash via /generate to disclose another request's image content or corrupt victims' responses.
Title SGLang through 0.5.21 KV Cache Poisoning via mm_hashes in /generate
Weaknesses CWE-345
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 16, 2026, 7:24 PM
Reserved
Oct 15, 2026, 9:55 PM
Status
Deferred
Published
Oct 16, 2026, 6:17 PM
Modified
Oct 16, 2026, 8:17 PM