CVE-2026-85673: hiyouga LlamaFactory · Server-Side Request Forgery (SSRF)
Affects hiyouga LlamaFactorySource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 3 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hiyougaLlamaFactory | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, users should consider implementing additional network-level protections such as restricting outbound HTTP requests from the vulnerable component or applying strict URL validation that accounts for redirects and DNS rebinding. Monitor vendor channels for updates and patches.
Description
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.
References
- github.com/hiyouga/LlamaFactory/issues/10646 (opens in a new tab)
- github.com/hiyouga/LlamaFactory (opens in a new tab)
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.py (opens in a new tab)
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.py (opens in a new tab)
- vulncheck.com/advisories/llama-factory-ssrf-guard-bypass-via-redirect-and-dns-rebinding (opens in a new tab)