ZeroHour

CVE-2026-0599

moderate

Unauthenticated DoS via unbounded image fetch in Hugging Face Text Generation Inference

CVSS 3.0
7.5 high
EPSS
28%p98
Published
()
Modified
AI analysis

Hugging Face Text Generation Inference (TGI) 3.3.6 contains an uncontrolled resource consumption flaw (CWE-400) that lets an unauthenticated remote attacker trigger unbounded server-side fetching of external images during input validation in vision-language-model (VLM) mode. When a request contains Markdown image links, the router issues a blocking HTTP GET to each referenced URL, reads the entire response body into memory, and clones it before decoding, with no size limit — and this fetching occurs even if the request is later rejected for exceeding token limits. By pointing to large or numerous resources, an attacker saturates network bandwidth, inflates memory, and drives CPU usage, and in the default deployment (no authentication and no memory usage limits) can crash the host machine; the impact is availability-only, with no confidentiality or integrity loss. Any operator running TGI 3.3.6 with VLM mode enabled is affected, with internet-facing instances lacking authentication at greatest risk. No public proof-of-concept or confirmed in-the-wild exploitation is known, although EPSS assigns a 27.6% probability of exploitation within 30 days.

What to do: Upgrade to TGI 3.3.7, which resolves the unbounded image-fetching behavior. Until patched, place TGI behind authentication, enforce memory limits (e.g., container memory caps), and restrict the router's ability to fetch arbitrary external URLs or run VLM mode without egress controls. Audit deployments — especially internet-facing ones — for TGI 3.3.6 or earlier running with VLM mode enabled.

Affected
Hugging Face Text Generation Inference (TGI)3.3.6 and prior (fixed in 3.3.7)
Estimated exposure
moderate≈1,000–10,000 internet-exposed TGI instances (estimate; exact counts unknown) — TGI is a widely adopted open-source inference server, but it is predominantly self-hosted by organizations behind internal APIs or gateways rather than exposed directly, so only on the order of thousands of directly internet-facing…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A vulnerability in huggingface/text-generation-inference version 3.3.6 allows unauthenticated remote attackers to exploit unbounded external image fetching during input validation in VLM mode. The issue arises when the router scans inputs for Markdown image links and performs a blocking HTTP GET request, reading the entire response body into memory and cloning it before decoding. This behavior can lead to resource exhaustion, including network bandwidth saturation, memory inflation, and CPU overutilization. The vulnerability is triggered even if the request is later rejected for exceeding token limits. The default deployment configuration, which lacks memory usage limits and authentication, exacerbates the impact, potentially crashing the host machine. The issue is resolved in version 3.3.7.

Weakness
CWE-400
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

No ingested article mentions this CVE yet.