Live threats

All CVEs / Hiyouga

CVE-2025-46567Hiyouga Llama-factory

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
May 1, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

LLama Factory enables fine-tuning of large language models. Prior to version 1.0.0, a critical vulnerability exists in the `llamafy_baichuan2.py` script of the LLaMA-Factory project. The script performs insecure deserialization using `torch.load()` on user-supplied `.bin` files from an input directory. An attacker can exploit this behavior by crafting a malicious `.bin` file that executes arbitrary commands during deserialization. This issue has been patched in version 1.0.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llama-factory.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llamafactory < 0.9.3 0.9.3 pip install "llamafactory>=0.9.3"
PyPI llamafactory < 0.9.3 0.9.3 pip install "llamafactory>=0.9.3"

Per OSV / GitHub Advisories (GHSA-f2f7-gj54-6vpv, PYSEC-2026-1574). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hiyougallama-factory< 1.0.0

Official sources

References

Links published by the sources. Open them with care.