CVE-2024-52803: Hiyouga Llama-Factory
Critical severity, CVSS 9.8. EPSS: 2.3% chance of exploitation in the next 30 days.
LLama Factory enables fine-tuning of large language models. A critical remote OS command injection vulnerability has been identified in the LLama Factory training process. This vulnerability arises from improper handling of user input, allowing malicious actors to execute arbitrary OS commands on the host system. The issue is caused by insecure usage of the `Popen` function with `shell=True`, coupled with unsanitized user input. Immediate remediation is required to mitigate the risk. This vulnerability is fixed in 0.9.1.
Affected products
- Hiyouga Llama-Factory: before 0.9.1 (fixed in 0.9.1)
Published 2024-11-21. Last modified 2026-06-17.