🛡️ CVE-2025-46567
🟡 CVSS 6.1 — Medium ⚠️ Exploit Public CWE-502 NVD
6.1
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity MEDIUM
CVSS Score 6.1
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L
CWE CWE-502
Public Exploit ⚠️ Yes
Source NVD
Published 2025-05-01
Updated 2026-06-02
Modified 2025-06-17

Affected Packages

Software From version Fixed in
llama-factory 1.0.0
llamafactory 0.9.3

Similar Threats

Exploit Protection

Help block exploit attempts

BotEraser is designed to detect and help reduce malicious bot traffic that may target known vulnerabilities on your site.

Try BotEraser Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.