CVE-2024-52803

CVE-2024-52803 is a high-severity vulnerability in Hiyouga Llama-factory with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-78.

Key facts

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.

Frequently asked questions

What is CVE-2024-52803?
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.
How severe is CVE-2024-52803?
CVE-2024-52803 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2024-52803 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (81st percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-52803?
CVE-2024-52803 affects Hiyouga Llama-factory. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-52803?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-52803 have an EU (EUVD) identifier?
Yes. CVE-2024-52803 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3357.
When was CVE-2024-52803 published?
CVE-2024-52803 was published on 2024-11-21 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Hiyouga Llama-factory

All CVEs affecting Hiyouga Llama-factory →

Other CWE-78 (OS Command Injection) vulnerabilities

Browse all CWE-78 (OS Command Injection) vulnerabilities →