Skip to main content

Text Generation Inference EUVDEUVD-2026-44953

| CVE-2026-63086 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-16 VulnCheck GHSA-c6cx-mj2w-vjcr
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted image_url in multimodal chat request
  2. Delivery
    TGI fetch_image issues outbound HTTP GET
  3. Exploit
    Attacker-controlled server issues redirect to internal target
  4. Execution
    reqwest follows redirect to cloud metadata or internal service
  5. Impact
    Extract IAM credentials or probe internal ports

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The OpenAI-compatible multimodal chat completions endpoint must be network-accessible to the attacker, which is default behavior when TGI is deployed as a public or semi-public inference API. No authentication is required per CVSS PR:N - any client able to reach the endpoint can trigger the SSRF. The attack is structurally limited to outbound HTTP GET requests only; the server cannot be made to issue POST requests or mutate internal services. Full credential-theft impact is conditional on the TGI deployment having network access to cloud instance metadata services (e.g., AWS IMDSv1 at 169.254.169.254) or internal HTTP APIs - TGI instances on isolated VPCs with strict egress filtering or IMDSv2-only enforcement face reduced practical impact. The redirect-following behavior of reqwest means any partial URL filtering applied at the application layer is bypassable via a redirect chain through an attacker-controlled intermediate host. Deployments behind an authenticated reverse proxy that requires valid credentials before reaching TGI significantly limit exploitation to authenticated users.

Impact

The CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N) accurately captures the threat profile: no authentication is required, network exploitation is straightforward, but the AT:P modifier reflects that full subsequent-system impact (SC:H) depends on the TGI server's network reachability to cloud metadata endpoints or internal HTTP services. In practice, TGI is most commonly deployed in cloud GPU environments (AWS, GCP, Azure) where IMDSv1 is often still reachable unless explicitly disabled - exactly the deployment profile where credential theft impact materializes. The VC:N/VI:N/VA:N metrics confirm the TGI host itself is not directly compromised; risk is entirely to adjacent systems. A publicly available proof-of-concept lowers exploitation barrier significantly, though the absence of a CISA KEV listing at time of analysis suggests exploitation has not yet been observed at scale. The redirect-chain bypass technique means naive allowlisting of URL schemes or host prefixes is insufficient as a standalone control. No EPSS data was provided in the input; given POC availability and cloud-deployment prevalence, real-world exploitation probability should be considered elevated above the raw CVSS score implies.

Exploit ScenarioDerived

An unauthenticated attacker sends a POST request to the TGI multimodal chat completions endpoint with a chat message containing an image_url set to an attacker-controlled server. That server responds with an HTTP 302 redirect to http://169.254.169.254/latest/meta-data/iam/security-credentials/, causing TGI's reqwest client to follow the redirect and return the AWS IAM role credentials in the server's response. A publicly available proof-of-concept at https://github.com/geo-chen/oss/blob/main/text-generation-inference.md demonstrates this redirect-chain technique to bypass scheme checks and reach internal metadata endpoints.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remote attackers to coerce the server into issuing arbitrary outbound HTTP GET requests via a crafted image_url value submitted to the OpenAI-compatible multimodal chat completions endpoint. The fetch_image function in router/src/validation.rs applies no destination validation, and the reqwest client's default redirect-following behavior allows attackers to chain redirects to bypass any scheme-level controls, reaching cloud instance-metadata services (e.g., AWS IMDSv1 at 169.254.169.254) to steal IAM credentials or enumerate internal port services. Publicly available exploit code exists (VulnCheck/geo-chen); no KEV listing at time of analysis, but the combination of unauthenticated access, cloud credential theft potential, and working POC makes this a genuine priority for any cloud-hosted TGI deployment.

RemediationAI

No vendor-released patch version is independently confirmed at time of analysis - the affected CPE range covers all versions through 3.3.7 without specifying a fixed release. Operators should monitor the HuggingFace text-generation-inference GitHub repository and the VulnCheck advisory at https://www.vulncheck.com/advisories/text-generation-inference-ssrf-via-fetch-image-in-multimodal-chat-completions for a patched release and apply it immediately upon availability. As compensating controls, the highest-priority action is to disable the OpenAI-compatible multimodal chat completions endpoint entirely if image URL inputs are not operationally required, eliminating the attack surface with no functional impact to text-only use cases. Where multimodal input is required, deploy network-level egress filtering on the TGI host to block outbound HTTP requests to RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), and link-local ranges (169.254.0.0/16) - note that filtering must be enforced at the network layer since the redirect-following behavior means application-layer URL validation alone is bypassable. For cloud deployments on AWS, enforce IMDSv2 (token-required mode) on all EC2 instances running TGI; this prevents IMDSv1 credential theft even if SSRF is successfully exploited, though it does not prevent internal port scanning. Placing TGI behind an authenticating reverse proxy or API gateway restricts who can reach the multimodal endpoint and is advisable regardless of this CVE.

Affected VersionsENISA

text-generation-inference 0 ≤3.3.7

Affected Packages

euvd text_generation_inference no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

text-generation-inference (TGI) is HuggingFace's production LLM inference server, written in Rust with a router component (router/src/validation.rs) that implements an OpenAI-compatible chat completions API supporting multimodal content including image URLs. The vulnerability stems from the fetch_image function failing to validate image_url destinations against RFC 1918 private ranges, loopback addresses, link-local ranges (169.254.0.0/16), and cloud metadata endpoints prior to fetching. The underlying HTTP client, reqwest, follows HTTP redirects by default, which enables attackers to submit a URL to an attacker-controlled host that issues a 302 redirect to an internal target - effectively bypassing any scheme or host prefix checks that may be applied before the fetch. CWE-918 (Server-Side Request Forgery) describes this root-cause class precisely: the server is weaponized into acting as a proxy for attacker-directed requests to otherwise inaccessible internal resources. The CPE string cpe:2.3:a:huggingface:text-generation-inference:*:*:*:*:*:*:*:* confirms all tracked releases are affected through 3.3.7.

Know when Hugging Face gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 8.6 HIGH

Unauthenticated network SSRF with scope change; confidentiality high via cloud credential theft; no integrity or availability impact on vulnerable system.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
widely used in cloud ML/AI LLM inference deployments
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2024-3568 CRITICAL POC
9.6 Apr 10

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data

CVE-2026-25874 CRITICAL POC
9.3 Apr 23

Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being

CVE-2026-33625 HIGH POC
8.8 Sep 18

Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu

CVE-2026-57845 HIGH POC
8.7 Oct 23

Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all

CVE-2023-6730 HIGH POC
8.8 Dec 19

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2023-7018 HIGH POC
7.8 Dec 20

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2025-3262 HIGH POC
7.5 Jul 07

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,

CVE-2025-6921 HIGH POC
7.5 Sep 23

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R

CVE-2026-66007 MEDIUM POC
6.9 Jul 24

Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process

CVE-2026-69112 MEDIUM POC
6.9 Aug 10

Path traversal in Hugging Face Accelerate through 1.14.0 exposes two distinct attack outcomes when a user loads a crafte

CVE-2025-1194 MEDIUM POC
6.5 Apr 29

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe

CVE-2026-5241 CRITICAL
9.6 Jun 03

Remote code execution in Hugging Face Transformers 5.2.0 allows a malicious model repository to bypass the user's explic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy