CVE-2026-63086 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Hugging Face's Text Generation Inference (TGI) version 3.3.7 and prior. This vulnerability exists in the OpenAI-compatible multimodal chat completions endpoint, allowing unauthenticated network attackers to manipulate the server into making arbitrary HTTP GET requests. Exploitation involves sending a crafted image_url value within chat message content. The vulnerability arises because the fetch_image function in router/src/validation.rs does not validate private, loopback, link-local, or cloud metadata target addresses. Additionally, the reqwest HTTP client, which follows redirects by default, can be exploited to bypass scheme checks and access internal services and cloud instance-metadata endpoints, potentially leading to internal port scanning and credential theft.
It is recommended to validate and sanitize the image_url before processing it. Implement checks to block private, loopback, link-local, and cloud metadata addresses. Additionally, consider requiring authentication for accessing the chat completions endpoint or adding a manual opt-in for server-side image fetching.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| text-generation-inference | < 3.3.7 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | New CVE Received | [email protected] |
Volerion