6.9medium
text-generation-inference 3.3.7 SSRF via fetch_image in multimodal chat completions
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compatible multimodal chat completions endpoint that allows unauthenticated network attackers to coerce the server into issuing arbitrary HTTP GET requests by supplying a crafted image_url value in chat message content. The fetch_image function in router/src/validation.rs performs no validation of private, loopback, link-local, or cloud metadata target addresses, and the reqwest HTTP client follows redirects by default, enabling attackers to bypass scheme checks via redirect chains to reach internal services and cloud instance-metadata endpoints for internal port scanning and credential theft.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| huggingface text-generation-inference | up to 3.3.7 | CVE List |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
| VulnCheck | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
text-generation-inference through 3.3.7 contains a server-side request forgery (SSRF) vulnerability in the OpenAI-compatible multimodal chat completions endpoint that allows unauthenticated network attackers to coerce the server into issuing arbitrary HTTP GET requests by supplying a crafted image_url value in chat message content. The fetch_image function in router/src/validation.rs performs no validation of private, loopback, link-local, or cloud metadata target addresses, and the reqwest HTTP client follows redirects by default, enabling attackers to bypass scheme checks via redirect chains to reach internal services and cloud instance-metadata endpoints for internal port scanning and credential theft.
NVD (es)
text-generation-inference hasta la versión 3.3.7 contiene una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en el endpoint de finalización de chat multimodal compatible con OpenAI que permite a atacantes de red no autenticados forzar al servidor a emitir peticiones HTTP GET arbitrarias al proporcionar un valor image_url manipulado en el contenido del mensaje de chat. La función fetch_image en router/src/validation.rs no realiza ninguna validación de direcciones de destino privadas, de bucle invertido, de enlace local o de metadatos de la nube, y el cliente HTTP reqwest sigue las redirecciones por defecto, lo que permite a los atacantes eludir las comprobaciones de esquema a través de cadenas de redirección para alcanzar servicios internos y endpoints de metadatos de instancias en la nube para el escaneo de puertos interno y el robo de credenciales.
References
| https://github.com/geo-chen/oss/blob/main/text-generation-inference.md | exploit, technical-description | |
| https://www.vulncheck.com/advisories/text-generation-inference-ssrf-via-fetch-image-in-multimodal-chat-completions | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63086 changed 2026-07-16 | CVE Terms of Use |
| NVD | CVE-2026-63086 changed 2026-10-24 | Public domain |