Skip to content
HighVulnerabilityLLM-specific

CVE-2024-52803: LLama Factory remote OS command injection in the training process

Identifier
CVE-2024-52803
Published
Record updated
View JSON
Affected
  • llamafactory <= 0.9.0
Fixed in
0.9.1
  • released November 24, 2024, 3 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
2.3%

Summary

LLama Factory, a tool for fine-tuning large language models, contains a critical remote OS command injection vulnerability in its training process, tracked as CVE-2024-52803. Improper handling of user input allows malicious actors to execute arbitrary OS commands on the host system, caused by insecure use of `Popen` with `shell=True` alongside unsanitized input.

Mitigation

Fixed in 0.9.1.