HighVulnerabilityLLM-specific
CVE-2024-52803: LLama Factory remote OS command injection in the training process
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-52803
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online