CVE-2026-137476 in VLLM
Summary
by MITRE • 11/26/2026
vLLM 0.3.0 before 0.30.0 contains a response amplification vulnerability in the OpenAI-compatible API server's shared RequestValidationError handler, which renders every Pydantic validation error, each of which can include the full offending input, in its HTTP 400 response. Unauthenticated attackers can send a malformed request to endpoints such as POST /v1/responses to trigger a disproportionately large error response that consumes server CPU and memory and can disrupt downstream clients and proxies.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in vLLM versions prior to 0.30.0 represents a significant security flaw within the OpenAI-compatible API server, specifically targeting the shared RequestValidationError handler. This component is responsible for processing incoming requests that do not conform to expected schema definitions using Pydantic validation logic. The core technical issue lies in how these validation errors are serialized and returned to the client. Instead of returning a generic or sanitized error message, the system exposes the full content of the offending input data within the HTTP 400 Bad Request response body. This design choice inadvertently transforms standard input validation failures into vectors for resource exhaustion attacks, as the size of the error response is directly proportional to the size and complexity of the malformed payload sent by an attacker.
From a technical perspective, this behavior constitutes a Response Amplification vulnerability, which falls under the broader category of CWE-770: Allocation of Resources Without Limits or Throttling. When an unauthenticated actor submits a request with excessively large or deeply nested invalid data to endpoints such as POST /v1/responses, the server processes the input through Pydantic's validation engine. Upon detecting schema violations, the framework generates detailed error messages that include the raw, problematic input fields. These errors are then encoded and sent back in the HTTP response. Because there is no upper bound on the size of this returned data, an attacker can craft payloads designed to trigger multiple validation failures or contain large blocks of invalid text, resulting in a disproportionately large response compared to the request itself. This amplification factor allows for efficient resource consumption attacks even with limited bandwidth from the attacker's side.
The operational impact of this vulnerability is severe, primarily affecting server stability and availability. The excessive CPU cycles required to parse complex malformed inputs and serialize them into detailed error messages can lead to significant performance degradation. More critically, the memory footprint associated with holding these large response objects in transit or during serialization can exhaust available system resources on the vLLM host. This resource exhaustion can cause service disruptions for legitimate users who are attempting to access inference endpoints. Furthermore, downstream clients and network proxies that buffer responses may also experience timeouts or failures when receiving these abnormally large payloads, effectively extending the denial of service beyond just the server itself into the broader ecosystem of connected services relying on vLLM for model serving capabilities.
In terms of threat modeling, this vulnerability aligns with MITRE ATT&CK technique T1498: Network Denial of Service, specifically under sub-techniques related to resource exhaustion through application layer attacks. It also reflects CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, as the detailed error messages may inadvertently leak internal schema structures or data formats that could aid further exploitation attempts. The lack of authentication requirements for this endpoint exacerbates the risk, allowing any external actor on the network path to trigger these conditions without prior credentials.
To mitigate this vulnerability, immediate action is required by upgrading vLLM to version 0.30.0 or later, where the handling of validation errors has been corrected to prevent the exposure of full input data in error responses. For environments that cannot immediately upgrade, implementing a reverse proxy such as Nginx or Traefik with strict response size limits can serve as an effective compensating control. Configuring these proxies to truncate HTTP 400 responses at a small byte threshold will prevent the amplification effect from reaching downstream clients and reduce the memory impact on the vLLM server during error handling. Additionally, developers should review custom middleware or handlers that interact with Pydantic validation to ensure they do not inadvertently expose raw input data in any other part of the application logic.