# CVE-2026-0599: Unbounded External Image Fetch in Validation Leads to Resource-Exhaustion DoS in huggingface/text-generation-inference

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 29.5%, higher than 98% of CVEs (2026-12-01)
- Published: 2026-02-02T10:36:25.459Z
- Modified: 2026-07-07T17:56:17.620Z
- Also known as: GHSA-j7x9-7j54-2v3h, PYSEC-2026-1965
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- huggingface huggingface/text-generation-inference: from unspecified before 3.3.7
- text-generation (PyPI): before 3.3.7

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://huntr.com/bounties/1d3f2085-666c-4441-b265-22f6f7d8d9cd> (web)
- <https://github.com/huggingface/text-generation-inference/commit/24ee40d143d8d046039f12f76940a85886cbe152> (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)

## Sources

- CVE List: [CVE-2026-0599](https://www.cve.org/CVERecord?id=CVE-2026-0599), CVE Terms of Use, modified 2026-02-02
- GitHub Advisory Database: [GHSA-j7x9-7j54-2v3h](https://github.com/advisories/GHSA-j7x9-7j54-2v3h), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-0599](https://nvd.nist.gov/vuln/detail/CVE-2026-0599), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1965](https://osv.dev/vulnerability/PYSEC-2026-1965), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2026-0599 · Whole record: https://cve.day/CVE-2026-0599.json · Rebuilt by cve.day 2026-11-25T22:59:13.359Z
