Unsafe Dependency Resolution Affecting llamafactory package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (39th 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 IDSNYK-PYTHON-LLAMAFACTORY-17751112
  • published1 Jul 2026
  • disclosed30 Jun 2026
  • creditUnknown

Introduced: 30 Jun 2026

NewCVE-2026-58116  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

There is no fixed version for llamafactory.

Overview

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

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the model path parameter in the WebUI Chat or Training interfaces. An attacker can execute arbitrary Python code on the server by supplying a malicious model path that is processed with trust_remote_code=True, causing the application to fetch and execute code from a remote or local repository with server privileges.

CVSS Base Scores

version 4.0
version 3.1