Live threats

All CVEs / Hiyouga

CVE-2024-52803Hiyouga Llama-factory

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Nov 21, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llama-factory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llamafactory < 0.9.1 0.9.1 pip install "llamafactory>=0.9.1"
PyPI llamafactory < 0.9.1 0.9.1 pip install "llamafactory>=0.9.1"

Per OSV / GitHub Advisories (GHSA-hj3w-wrh4-44vp, PYSEC-2026-1575). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hiyougallama-factory< 0.9.1

Official sources

References

Links published by the sources. Open them with care.