Vulnerability · Published Sep 4, 2026 · Assigned by VulnCheck
CVE-2026-85673LLaMA-Factory SSRF Guard Bypass via Redirect and DNS Rebinding
High 7.5
In plain English
A high-severity server-side request forgery in LlamaFactory from hiyouga. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| hiyouga | LlamaFactory | 0 – through 0.9.5 |
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- GitHub Issue #10646 issue-tracking
- https://github.com/hiyouga/LlamaFactory product
- https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.py technical-description
- https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.py technical-description
- VulnCheck Advisory: LLaMA-Factory SSRF Guard Bypass via Redirect and DNS Rebinding third-party-advisory