CVE-2026-54236
Beschrijving NL
vLLM is een inferentie- en serveermotor voor grote taalmodellen (LLM's). Voorafgaand aan 0.23.1rc0 is de oplossing voor CVE-2026-22778, die een sanitize_message-helper introduceerde die object-repr-geheugenadressen van foutberichten verwijdert voordat ze de klant bereiken, onvolledig: verschillende reactiepaden echo str(exc) rechtstreeks naar klanten zonder sanitize_message te bellen. De ongesanitiseerde sites omvatten de Anthropic API-router in vllm/entrypoints/anthropic/api_router.py (de POST /v1/berichten en POST /v1/berichten/count_tokens handlers), de Server-Sent Events streaming converter in vllm/entrypoints/anthropic/serving.py en de realtime spraak-naar-tekst WebSocket in vllm/entrypoints/speech_to_text/realtime/connection.py. Deze paden vangen de uitzondering binnen de routecoroutine en construeren de JSONResponse zelf, waarbij de ontsmettende wereldwijde FastAPI-uitzonderingshandler wordt omzeild, en WebSocket-frames doorkruisen die handler-keten helemaal niet. Met behulp van dezelfde primitieve als het bovenliggende probleem, kan een niet-geverifieerde aanvaller misvormde beeldbytes verzenden via de Antropic Messages API-afbeeldingsinhoudsonderdelen, zodat PIL.Image.open een UnidentifiedImageError oproept waarvan het bericht het BytesIO-object repr bevat, waardoor het heap-geheugenadres letterlijk in het error.message-veld van de responsbody lekt. Deze kwetsbaarheid is opgelost in 0.23.1rc0.
Origineel (Engels) tonen
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.23.1rc0, the fix for CVE-2026-22778, which introduced a sanitize_message helper that strips object-repr memory addresses from error messages before they reach the client, is incomplete: several response paths echo str(exc) directly to clients without calling sanitize_message. The unsanitized sites include the Anthropic API router in vllm/entrypoints/anthropic/api_router.py (the POST /v1/messages and POST /v1/messages/count_tokens handlers), the Server-Sent Events streaming converter in vllm/entrypoints/anthropic/serving.py, and the realtime speech-to-text WebSocket in vllm/entrypoints/speech_to_text/realtime/connection.py. These paths catch the exception inside the route coroutine and construct the JSONResponse themselves, bypassing the sanitizing global FastAPI exception handler, and WebSocket frames do not traverse that handler chain at all. Using the same primitive as the parent issue, an unauthenticated attacker can send malformed image bytes through the Anthropic Messages API image content parts so that PIL.Image.open raises an UnidentifiedImageError whose message contains the BytesIO object repr, leaking the heap memory address verbatim in the error.message field of the response body. This vulnerability is fixed in 0.23.1rc0.