CVE-2025-53002
Last modified
CVE-2025-53002 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. EPSS estimates a 1.03% chance of exploitation in the next 30 days.
Description
LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file` is loaded without proper safeguards, allowing malicious attackers to execute arbitrary malicious code on the host system simply by passing a malicious `Checkpoint path` parameter through the `WebUI` interface. The attack is stealthy, as the victim remains unaware of the exploitation. The root cause is that the `vhead_file` argument is loaded without the secure parameter `weights_only=True`. Version 0.9.4 contains a fix for the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hiyouga | Llama-Factory | < 0.9.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-53002?
How severe is CVE-2025-53002?
How do I fix CVE-2025-53002?
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-52996File Browser provides a file managing interface within a spe…4.3
- CVE-2025-52997File Browser provides a file managing interface within a spe…7.5
- CVE-2025-52998Chamilo is a learning management system. Prior to version 1.…9.8
- CVE-2025-52999jackson-core contains core low-level incremental ("streaming…8.7
- CVE-2025-53000The nbconvert tool, jupyter nbconvert, converts Jupyter note…7.8
- CVE-2025-53001Rejected reason: Reason: This candidate was issued in error.
- CVE-2025-53003The Janssen Project is an open-source identity and access ma…8.2
- CVE-2025-53004DataEase is an open source business intelligence and data vi…9.8
- CVE-2025-53005DataEase is an open source business intelligence and data vi…9.8
- CVE-2025-53006DataEase is an open source business intelligence and data vi…9.8
- CVE-2025-53007arduino-esp32 provides an Arduino core for the ESP32. Versio…8.9
- CVE-2025-53008GLPI stands for Gestionnaire Libre de Parc Informatique is a…6.5
Are you affected by CVE-2025-53002?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
