Skip to content
text-generation-inferenceGHSA-j7x9-7j54-2v3h

Hugging Face Text Generation Inference vulnerable to Uncontrolled Resource Consumption

High7.5CVE-2026-0599 · Published Feb 2, 2026 · updated Jul 7, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
text-generation
PyPI
< 3.3.73.3.7
Details and references

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.

CVSS 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-400
Also known as
CVE-2026-0599, PYSEC-2026-1965

More text-generation-inference advisories

All
DateAdvisory
Jun 22024code injection vulnerability exists in the huggingface/text-generation-inference repository
CVE-2024-3924Medium4.4fixed in 2.0.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.