CVE-2024-52803

HIGH

Hiyouga Llama-factory < 0.9.1 - OS Command Injection

Title source: rule
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0324
EPSS Percentile 87.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-78 CWE-79
Status published
Products (2)
hiyouga/llama-factory < 0.9.1
pypi/llamafactory 0 - 0.9.1PyPI
Published Nov 21, 2024
Tracked Since Feb 18, 2026