p PatchFirst

CVE-2024-52803

CVE-2024-52803 · LLama Factory Remote OS Command Injection Vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 2.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • llama-factory

    Versions
    • < 0.9.1: Affected

    No fix published

  • llamafactory PyPI

    Versions
    • 0.7.1
    • 0.8.0
    • 0.8.1
    • 0.8.2
    • 0.8.3
    • 0.9.0
    Affected ranges
    • ECOSYSTEM: < 0.9.1

    Update to 0.9.1

Original sources

Check your server →