A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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
From the NVD's configuration data (CPE), vendor first.
- Hiyouga llama-factory
Weakness type
References
- github.com /hiyouga/LLaMA-Factory/commit/2989d39239d2f46e584c1e1180ba4…
- github.com /hiyouga/LLaMA-Factory/security/advisories/GHSA-f2f7-gj54-6…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning