CVE-2026-63086
JSON

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 packageVersionsReported by
huggingface text-generation-inferenceup to 3.3.7CVE List

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
VulnCheck8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-918

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

Sources

SourceRecordLicence
CVE ListCVE-2026-63086 changed 2026-07-16CVE Terms of Use
NVDCVE-2026-63086 changed 2026-10-24Public domain