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.
Published: 2026-07-16
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a server‑side request forgery (SSRF) in the multimodal chat completions endpoint of text‑generation‑inference 3.3.7. The fetch_image function accepts an arbitrary image_url without validating that the URL targets an external, non‑internal resource, and the HTTP client follows redirects by default, allowing attackers to bypass scheme checks through redirect chains. An unauthenticated attacker can coerce the server into issuing arbitrary HTTP GET requests, potentially accessing internal services or cloud metadata endpoints for credential harvesting.

Affected Systems

The affected product is Huggingface's text‑generation‑inference server. Versions up to and including 3.3.7 that expose the multimodal chat completions endpoint are vulnerable. No other vendors or product variants are indicated.

Risk and Exploitability

The flaw carries a CVSS score of 6.9. An attacker with network reachability can target the vulnerable server to perform internal network discovery or credential theft. The EPSS score is <1%, indicating a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog, so it is not currently a known exploited vulnerability.

Generated by OpenCVE AI on July 31, 2026 at 01:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest release of text‑generation‑inference that contains the SSRF fix
  • Block outbound HTTP/HTTPS connections from the server to internal IP ranges, loopback, link‑local, and cloud metadata addresses by configuring firewalls or network segmentation
  • Implement validation to reject image_url values that resolve to private, loopback, or link‑local addresses, or use a proxy that sanitizes URLs before forwarding requests

Generated by OpenCVE AI on July 31, 2026 at 01:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Huggingface
Huggingface text-generation-inference
Vendors & Products Huggingface
Huggingface text-generation-inference

Thu, 16 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title text-generation-inference 3.3.7 SSRF via fetch_image in multimodal chat completions
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Huggingface Text-generation-inference
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-16T17:41:55.297Z

Reserved: 2026-07-15T15:45:44.600Z

Link: CVE-2026-63086

cve-icon Vulnrichment

Updated: 2026-07-16T17:35:11.307Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:00:05Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)