CVE-2026-0599
HIGH 7.5CVSS 3.0Hugging Face Text Generation Inference vulnerable to Uncontrolled Resource Consumption
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.
- Published
- 2 Feb 2026
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-j7x9-7j54-2v3hPYSEC-2026-1965
- Sources
- NVDJSONOSV GHSA-j7x9-7j54-2v3hJSONOSV PYSEC-2026-1965JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | text-generation | < 3.3.7 | 3.3.7 |
References
- https://github.com/huggingface/text-generation-inference/commit/24ee40d143d8d046039f12f76940a85886cbe152 · WEB
- https://huntr.com/bounties/1d3f2085-666c-4441-b265-22f6f7d8d9cd · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-0599 · ADVISORY
- https://github.com/huggingface/text-generation-inference · PACKAGE
- https://pypi.org/project/text-generation · PACKAGE
- https://github.com/advisories/GHSA-j7x9-7j54-2v3h · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2026)