Skip to main content
Vulnerability Database/CVE-2026-105756

CVE-2026-105756: vLLM LMCache-MP DoS Vulnerability

CVE-2026-105756 is a denial of service vulnerability in vLLM that allows malformed cache_salt values to crash the EngineCore. This post covers the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105756 Overview

CVE-2026-105756 is an input validation vulnerability in vLLM, an inference and serving engine for large language models. Versions prior to 0.30.0 accept a non-empty cache_salt value in OpenAI-compatible request models without enforcing the character and length restrictions required by the IPCCacheServerKey consumer in LMCache-MP. On deployments using the LMCache-MP connector, a malformed salt raises an uncaught ValueError during scheduler cache lookup. The exception terminates the EngineCore process and denies service to all concurrent users. The issue is fixed in vLLM 0.30.0 and is tracked under [CWE-20: Improper Input Validation].

Critical Impact

An authenticated client can crash the vLLM EngineCore by sending a single request containing a cache_salt with a forbidden character or exceeding 128 characters, causing a denial of service for all concurrent users on LMCache-MP deployments.

Affected Products

  • vLLM versions prior to 0.30.0
  • Deployments using the LMCache-MP connector with OpenAI-compatible API endpoints
  • Services exposing /v1/chat/completions and related OpenAI-compatible routes

Discovery Timeline

  • 2026-10-05 - CVE-2026-105756 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105756

Vulnerability Analysis

The vulnerability resides in the OpenAI-compatible request handling layer of vLLM. Request models accept a cache_salt field intended as a tenant or session-scoping key for KV-cache reuse. On deployments using LMCache-MP, the salt flows into the IPCCacheServerKey consumer, which enforces strict character and length constraints. The upstream request validation never checked these constraints before forwarding the value.

When a request reaches the scheduler cache lookup path, the downstream consumer raises an uncaught ValueError. The exception propagates into the asyncio event loop running EngineCore, terminating the worker. All in-flight requests fail and new requests cannot be served until the engine is restarted. A single low-privilege authenticated client can trigger this condition repeatedly.

Root Cause

The root cause is missing input validation on the cache_salt parameter in OpenAI-compatible protocol models. Prior to the fix, the field was accepted as any non-empty string. The LMCache-MP backend requires that the salt be at most 128 characters and must not contain @, /, \, or NUL (\\x00). The mismatch between the API surface and the backend consumer created a classic trust boundary violation.

Attack Vector

Exploitation requires network access to the vLLM API and a valid API credential if authentication is enabled. The attacker submits a chat or completion request with a crafted cache_salt value, for example a string containing @ or exceeding 128 characters. The scheduler raises the uncaught exception during cache lookup, and the EngineCore process exits. Repeated requests perpetuate the outage.

python
# Patch excerpt from vllm/entrypoints/generate/base/protocol.py
# Validates cache_salt before it reaches the LMCache backend.
_CACHE_SALT_FORBIDDEN_CHARS = frozenset("@/\\\\x00")
_MAX_CACHE_SALT_LENGTH = 128


def validate_cache_salt(cache_salt: object) -> None:
    """Validate cache salts before they reach downstream cache backends."""
    if cache_salt is None:
        return
    if not isinstance(cache_salt, str) or not cache_salt:
        raise VLLMValidationError(
            "Parameter 'cache_salt' must be a non-empty string if provided.",
            parameter="cache_salt",
        )
    if len(cache_salt) > _MAX_CACHE_SALT_LENGTH or any(
        char in _CACHE_SALT_FORBIDDEN_CHARS for char in cache_salt
    ):
        raise VLLMValidationError(
            "Parameter 'cache_salt' must be at most 128 characters and must "
            "not contain '@', '/', '\\\\', or NUL.",
            parameter="cache_salt",
        )

Source: vLLM security patch commit e962733

Detection Methods for CVE-2026-105756

Indicators of Compromise

  • Unexpected EngineCore process terminations correlated with recent inbound API requests.
  • Server logs containing uncaught ValueError traces originating from IPCCacheServerKey or LMCache-MP code paths.
  • Request payloads to /v1/chat/completions or /v1/completions with cache_salt values containing @, /, \, NUL bytes, or lengths above 128 characters.

Detection Strategies

  • Enable structured logging of request bodies at the API gateway and alert on cache_salt values that violate the 128-character limit or contain forbidden characters.
  • Monitor EngineCore restart counts and crash-loop patterns as a leading signal of exploitation attempts.
  • Deploy a Web Application Firewall rule that inspects JSON request bodies for malformed cache_salt fields before they reach vLLM.

Monitoring Recommendations

  • Track process lifecycle metrics for all vLLM worker processes and alert on abnormal exit codes.
  • Correlate client identity with repeated engine terminations to identify abusive tenants.
  • Review Kubernetes or systemd restart events for vLLM pods and services to surface silent crash loops.

How to Mitigate CVE-2026-105756

Immediate Actions Required

  • Upgrade vLLM to version 0.30.0 or later, which introduces the validate_cache_salt guard in OpenAI protocol models.
  • Restrict API access to trusted clients and enforce authentication on all OpenAI-compatible endpoints.
  • Deploy an upstream validation filter that rejects requests whose cache_salt exceeds 128 characters or contains @, /, \, or NUL.

Patch Information

The fix is included in vLLM 0.30.0. The patch adds a validate_cache_salt function in vllm/entrypoints/generate/base/protocol.py and invokes it from the OpenAI chat and completion protocol models. Full details are published in the vLLM GitHub Security Advisory GHSA-2823-qmq8-rwvj, pull request #51444, and the v0.30.0 release notes.

Workarounds

  • Disable the LMCache-MP connector until the upgrade can be deployed, which removes the vulnerable downstream consumer.
  • Enforce reverse-proxy or API-gateway validation that strips or rejects any request containing a cache_salt field.
  • Rate-limit per-client request volume to reduce the impact of repeated exploitation attempts while a patch is scheduled.
bash
# Example NGINX snippet to drop requests with malformed cache_salt
# before they reach a vulnerable vLLM instance.
location /v1/ {
    if ($request_body ~* "\"cache_salt\"\s*:\s*\"[^\"]{129,}\"") {
        return 400;
    }
    if ($request_body ~* "\"cache_salt\"\s*:\s*\"[^\"]*[@/\\\\]") {
        return 400;
    }
    proxy_pass http://vllm_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.