CVE-2026-0599huggingface/text-generation-inference
High 7.5 No auth needed
Follow: this CVE · huggingface · huggingface/text-generation-inference We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Feb 2, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for huggingface/text-generation-inference.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | text-generation |
< 3.3.7 |
3.3.7 |
pip install "text-generation>=3.3.7" |
| PyPI | text-generation |
< 3.3.7 |
3.3.7 |
pip install "text-generation>=3.3.7" |
Per OSV / GitHub Advisories (GHSA-j7x9-7j54-2v3h, PYSEC-2026-1965). Check the version in your lockfile before upgrading.
Affected products
- huggingface · huggingface/text-generation-inference
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.