What happened
A single malformed request that triggers many Pydantic errors is echoed back repeatedly, amplifying the response size. The fix limits rendered errors and summarizes oversized inputs.
Why it matters
In an LLM-inference gateway exposed to the internet, this is a cheap unauthenticated request-amplification / resource-exhaustion lever against a shared inference service.
Attack vector
The shared RequestValidationError handler renders every Pydantic validation error, each of which can include the full offending input, in the HTTP 400 response. An unauthenticated client sends one malformed request that generates many errors, causing the same input to be serialized repeatedly into a disproportionately large response that consumes CPU/memory and can disrupt downstream clients/proxies.
Affected systems
vLLM 0.3.0 before 0.30.0 (shared RequestValidationError handler)
Mitigation
Upgrade to vLLM v0.30.0 or later (fix #54684 bounds error-response rendering and summarizes oversized input values).