CVE-2026-85673
LLaMA-Factory SSRF Guard Bypass via Redirect and DNS Rebinding
- State
- Published
- Severity
- 8.7 High
- Published
- Sep 4, 2026
- Updated
- Sep 4, 2026
- Reserved
- Sep 4, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
Affected Products
| Product | Versions |
|---|---|
LlamaFactoryhiyouga |
|
References
- GitHub Issue #10646issue-tracking
- https://github.com/hiyouga/LlamaFactoryproduct
- https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.pytechnical-description
- https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.pytechnical-description
- VulnCheck Advisory: LLaMA-Factory SSRF Guard Bypass via Redirect and DNS Rebindingthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.