VYPR
High severity7.5NVD Advisory· Published Nov 21, 2024· Updated Jun 17, 2026

CVE-2024-52803

CVE-2024-52803

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
llamafactoryPyPI
< 0.9.10.9.1

Affected products

3
  • cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*range: <0.9.1
    • (no CPE)range: < 0.9.1
  • ghsa-coords
    Range: < 0.9.1

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.