---
id: CVE-2026-85673
title: >-
  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
summary: >-
  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 bu…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-918
published: '2026-09-04'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T20:43:32.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85673'
references:
  - url: 'https://github.com/hiyouga/LlamaFactory'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/chat.py
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/hiyouga/LlamaFactory/blob/v0.9.5/src/llamafactory/api/common.py
    label: disclosure@vulncheck.com
  - url: 'https://github.com/hiyouga/LlamaFactory/issues/10646'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/llama-factory-ssrf-guard-bypass-via-redirect-and-dns-rebinding
    label: disclosure@vulncheck.com
  - url: 'https://github.com/hiyouga/LlamaFactory/issues/10646'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00507
epssPercentile: 0.40654
ingestedAt: '2026-09-24T20:51:40.244Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
