p PatchFirst

PatchFirst · Latest vulnerabilities

llamafactory vulnerabilities

Vulnerabilities published for llamafactory in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2025-61784

    High · CVSS 7.6EPSS 0.38%Fix available

    LLaMA Factory's Chat API has Critical SSRF and LFI Vulnerabilities

    LLaMA-Factory is a tuning library for large language models. Prior to version 0.9.4, a Server-Side Request Forgery (SSRF) vulnerability in the chat API allows any authenticated user to force the server to make arbitrary HTTP requests to internal and external networks. This can lead to the exposure of sensitive internal services, reconnaissance of the internal network, or interaction with third-party services. The same mechanism also allows for a Local File Inclusion (LFI) vulnerability, enabling users to read arbitrary files from the server's filesystem. The vulnerability exists in the `_process_request` function within `src/llamafactory/api/

    • Update to 0.9.4
    Published Updated
  2. CVE-2025-53002

    High · CVSS 8.3EPSS 1.27%No fix published

    LLaMA-Factory Remote Code Execution (RCE) Vulnerability

    LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file` is loaded without proper safeguards, allowing malicious attackers to execute arbitrary malicious code on the host system simply by passing a malicious `Checkpoint path` parameter through the `WebUI` interface. The attack is stealthy, as the victim remains unaware of the exploitation. The root cause is that the `vhead_file` argument is loaded without the secure parameter `weights_only=Tru

    Published Updated
  3. CVE-2025-46567

    Medium · CVSS 6.1EPSS 0.29%Fix available

    LLaMA-Factory Allows Arbitrary Code Execution via Unsafe Deserialization in Ilamafy_baichuan2.py

    LLama Factory enables fine-tuning of large language models. Prior to version 1.0.0, a critical vulnerability exists in the `llamafy_baichuan2.py` script of the LLaMA-Factory project. The script performs insecure deserialization using `torch.load()` on user-supplied `.bin` files from an input directory. An attacker can exploit this behavior by crafting a malicious `.bin` file that executes arbitrary commands during deserialization. This issue has been patched in version 1.0.0.

    • Update to 0.9.3
  4. CVE-2024-52803

    High · CVSS 7.5EPSS 2.32%Fix available

    LLama Factory Remote OS Command Injection Vulnerability

    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.

    • Update to 0.9.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →