cve.bz

CVE-2024-52803

9.8 criticalEPSS 2.3%

Critical (9.8) in hiyouga llama-factory. EPSS 2.3% chance of exploitation in the next 30 days. Fixed in llamafactory 0.9.1.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.3% chance of exploitation in the next 30 days; higher than 83% of CVEs (scores of 2026-10-31)
CWEs
CWE-78, CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hj3w-wrh4-44vpPyPIllamafactory<0.9.10.9.1
PYSEC-2026-1575PyPIllamafactory<0.9.10.9.1

References

Check your stackJSON