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

CVE-2026-111160: LightLLM Denial of Service Vulnerability

CVE-2026-111160 is a denial of service vulnerability in LightLLM that allows unauthenticated attackers to crash the inference worker. This post explains its 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-111160 Overview

CVE-2026-111160 is a denial of service vulnerability in LightLLM through version 1.2.0, an open-source large language model inference server maintained by ModelTC. Unauthenticated attackers can crash the inference worker by submitting the internal pd_kv_trans_params field to the /generate endpoint. The crafted payload causes pickle.loads to fail inside InferSamplingParams, terminating the inference thread. The /health endpoint continues to report healthy while all subsequent generation requests hang until the service is restarted. The weakness is classified under CWE-502: Deserialization of Untrusted Data.

Critical Impact

A single unauthenticated HTTP request can silently kill the LightLLM inference thread, causing all subsequent generation requests to hang indefinitely while health checks continue to report the service as available.

Affected Products

  • ModelTC LightLLM through version 1.2.0
  • LightLLM /generate HTTP API endpoint
  • InferSamplingParams deserialization path in lightllm/server/router/model_infer/infer_batch.py

Discovery Timeline

  • 2026-10-15 - CVE-2026-111160 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-111160

Vulnerability Analysis

LightLLM exposes a /generate HTTP endpoint that accepts user-provided sampling parameters. The server implementation in lightllm/server/api_lightllm.py forwards fields from the incoming JSON body to internal sampling parameter objects without filtering out attributes that are meant to be internal-only. One such field, pd_kv_trans_params, is designed for inter-process state transfer and is expected to arrive as a pickled byte stream.

When an attacker supplies an arbitrary value for pd_kv_trans_params, the inference worker reaches a code path in sampling_params.py and infer_batch.py that calls pickle.loads on the attacker-controlled bytes. Because the input is not a valid pickle serialization, deserialization raises an unhandled exception inside the inference thread. The thread dies, but the HTTP front-end and health check loop keep running.

Root Cause

The root cause is improper separation between externally reachable request parameters and internal state fields, combined with unsafe deserialization of untrusted data [CWE-502]. The /generate request handler trusts the shape of the input and passes pd_kv_trans_params directly to InferSamplingParams, which then invokes pickle.loads without validation, type checks, or exception handling that would preserve worker liveness.

Attack Vector

Exploitation requires only network reachability to the LightLLM API and no authentication. An attacker issues a single POST request to /generate containing a JSON body with the pd_kv_trans_params field set to any value that is not a valid pickle stream. The inference worker thread terminates on the first processing attempt. From that point forward, /health returns success, but every subsequent generation request blocks until an operator manually restarts the service. See the VulnCheck advisory and the referenced source lines in api_lightllm.py and sampling_params.py for technical details.

// No verified public exploit code is available. See the VulnCheck advisory
// and GitHub issue #1629 for the technical write-up.

Detection Methods for CVE-2026-111160

Indicators of Compromise

  • HTTP POST requests to /generate whose JSON body includes the field pd_kv_trans_params, which should never be set by legitimate external clients.
  • Python traceback entries in LightLLM worker logs referencing pickle.loads, InferSamplingParams, or UnpicklingError immediately before the inference thread goes silent.
  • A healthy /health response coexisting with an accumulating backlog of unanswered /generate requests.

Detection Strategies

  • Inspect LightLLM access logs for request bodies containing the pd_kv_trans_params key originating from untrusted sources or external networks.
  • Correlate worker-thread exit events with recent HTTP request IDs to identify the triggering payload.
  • Deploy synthetic transactions that submit a known-good /generate request on a schedule, and alert on timeouts even when /health succeeds.

Monitoring Recommendations

  • Monitor end-to-end latency and error rate on /generate independently of the /health endpoint.
  • Track active inference thread count and alert when it drops below the expected baseline.
  • Forward LightLLM stdout and stderr to centralized logging so unhandled exceptions are retained for incident response.

How to Mitigate CVE-2026-111160

Immediate Actions Required

  • Restrict network access to the LightLLM /generate endpoint so that only trusted internal clients can reach it, using a reverse proxy, service mesh policy, or network ACL.
  • Deploy a request filter in front of LightLLM that rejects any JSON body containing the pd_kv_trans_params key.
  • Implement a watchdog that restarts the LightLLM process when /generate latency exceeds a defined threshold while /health remains green.

Patch Information

At the time of publication, no fixed release is referenced in the NVD entry. Track GitHub issue #1629 and the ModelTC LightLLM repository for an official patch, and upgrade as soon as a version later than 1.2.0 addressing this issue is published.

Workarounds

  • Place LightLLM behind an authenticating reverse proxy that strips internal-only fields such as pd_kv_trans_params from inbound requests.
  • Run LightLLM inside a process supervisor configured to restart the service automatically when worker threads terminate unexpectedly.
  • Operate the inference service on an isolated network segment that is not reachable from the public internet or from untrusted tenants.
bash
# Example NGINX snippet: reject requests whose body contains pd_kv_trans_params
location /generate {
    if ($request_body ~* "pd_kv_trans_params") {
        return 400;
    }
    proxy_pass http://lightllm_upstream;
}

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.