CVE-2026-0599

Unbounded External Image Fetch in Validation Leads to Resource-Exhaustion DoS in huggingface/text-generation-inference

Published Feb 2, 2026 CVSS 3.0 · 7.5 High EPSS 29.5% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs in Huggingface's text-generation-inference component 3.3.6. When the router processes VLM mode inputs containing Markdown image links it performs a blocking HTTP GET request, reads the entire response body into memory, and clones it before decoding. This unbounded consumption of network bandwidth, memory, and CPU can lead to resource exhaustion. Even if the request is later rejected for exceeding token limits, the earlier resource consumption still occurs, potentially crashing the host. The issue is a CWE-400 Unbounded Resource Consumption vulnerability.

Affected Systems

Huggingface's text-generation-inference 3.3.6 is affected. The issue remains under default deployment configurations that lack authentication and limits. Versions 3.3.7 and later include the fix and are not vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity flaw, while the EPSS score of 30% suggests a moderate to high probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it remotely by sending an unauthenticated HTTP request containing a Markdown image link; the server will attempt to fetch the image, consuming network, memory, and CPU resources, which can lead to a denial of service or host crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Huggingface text-generation-inference component to version 3.3.7 or later to address the bug.
  • Configure the deployment with memory usage limits and resource quotas to prevent a single request from exhausting host resources.
  • Enable authentication or restrict VLM mode, and disable external image fetching during input validation to mitigate the risk of unbounded resource consumption.

Generated by OpenCVE AI on October 1, 2026 at 23:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j7x9-7j54-2v3h Hugging Face Text Generation Inference vulnerable to Uncontrolled Resource Consumption
History
Type Values Removed Values Added
First Time appeared Huggingface
Huggingface text-generation-inference
Vendors & Products Huggingface
Huggingface text-generation-inference
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
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.
Title Unbounded External Image Fetch in Validation Leads to Resource-Exhaustion DoS in huggingface/text-generation-inference
Weaknesses CWE-400
References
Metrics cvssV3_0

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

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Feb 2, 2026, 12:49 PM
Reserved
Jan 5, 2026, 11:35 AM
Status
Deferred
Published
Feb 2, 2026, 11:16 AM
Modified
Jun 17, 2026, 10:11 AM