SSRF in Hiyouga Llamafactory
CVE-2026-85673
LLaMA-Factory contains a server-side request forgery vulnerability in the OpenAI-compatible API multimodal media URL handler that allows unauthenticated attackers to bypass SSRF validation. The check_ssrf_url guard validates URLs once but requests.get follows redirects and re-resolves DNS without re-validation, enabling attackers to use HTTP redirects or DNS rebinding to access internal addresses and cloud metadata endpoints.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.005 (42.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 42nd percentile — 42.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.005 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/hiyouga/LlamaFactory (product)
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.py (technical-description)
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.py (technical-description)
- github.com/hiyouga/LlamaFactory/issues/10646 (issue-tracking)
- www.vulncheck.com/advisories/llama-factory-ssrf-guard-bypass-via-redirect-and-d… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-85673?
- CVE-2026-85673 is a high-severity vulnerability in Hiyouga Llamafactory, classified under Server-Side Request Forgery (SSRF). CVSS score: 7.5/10. Published 2026-09-04.
- How severe is CVE-2026-85673?
- High severity. CVSS v3 base score is 7.5 out of 10.