Server-side Request Forgery (SSRF) Affecting llamafactory package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LLAMAFACTORY-13450903
  • published9 Oct 2025
  • disclosed7 Oct 2025
  • creditWu Wenhao, KEXNA, zhongyuan chen

Introduced: 7 Oct 2025

NewCVE-2025-61784  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

llamafactory is an Easy-to-use LLM fine-tuning framework

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the _process_request function, which processes incoming content URLs without proper validation or sanitization. An attacker can access internal network resources or read arbitrary files from the server by submitting crafted URLs to the API endpoint.

References

CVSS Base Scores

version 4.0
version 3.1