CVE-2025-46567
Last modified
CVE-2025-46567 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hiyouga | Llama-Factory | < 1.0.0 |
References
- https://github.com/hiyouga/LLaMA-Factory/security/advisories/GHSA-f2f7-gj54-6vpvExploit, Vendor Advisory
- https://github.com/hiyouga/LLaMA-Factory/security/advisories/GHSA-f2f7-gj54-6vpvExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-46567?
How severe is CVE-2025-46567?
How do I fix CVE-2025-46567?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-46558XWiki Contrib's Syntax Markdown allows importing Markdown co…9
- CVE-2025-46559Misskey is an open source, federated social media platform. …7.5
- CVE-2025-4656Vault Community and Vault Enterprise rekey and recovery key …3.1
- CVE-2025-46560vLLM is a high-throughput and memory-efficient inference and…7.5
- CVE-2025-46565Vite is a frontend tooling framework for javascript. Prior t…5.3
- CVE-2025-46566DataEase is an open-source BI tool alternative to Tableau. P…9.8
- CVE-2025-46568Stirling-PDF is a locally hosted web application that allows…7.5
- CVE-2025-46569Open Policy Agent (OPA) is an open source, general-purpose p…7.4
- CVE-2025-4657A buffer overflow vulnerability was reported in the Lenovo P…8.4
- CVE-2025-46570vLLM is an inference and serving engine for large language m…2.6
- CVE-2025-46571Open WebUI is a self-hosted artificial intelligence platform…5.4
- CVE-2025-46572passport-wsfed-saml2 provides passport strategy for both WS-…9.3
Are you affected by CVE-2025-46567?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
