cvedb.io
CVE-2025-46567
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2025-05-01T18:15:58.117 · Last modified 2026-06-17T09:26:38.183

Summary

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.

Affected products

hiyouga — llama-factory

Does this affect you?

Add your gear to cvedb and we'll alert you only when hiyouga ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.