CVE-2026-85673
LLaMA-Factory contains a server-side request forgery vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/hiyouga/LlamaFactory
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.py
- github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.py
- github.com/hiyouga/LlamaFactory/issues/10646
- www.vulncheck.com/advisories/llama-factory-ssrf-guard-bypass-via-redirect-and-dns-rebindin
- nvd.nist.gov/vuln/detail/CVE-2026-85673
- cve.org/CVERecord?id=CVE-2026-85673
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.