Llama Factory
Approved changes feed: RSS · Atom
cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Hiyouga (fa844ff6-5669-54c1-8a45-08751ac0b842) |
|---|---|
| Product | Llama Factory (bf714efd-4642-50c6-811b-6aca69b0e9bb) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/hiyouga/llama-factory |
purl2cpe | 2026-06-01 10:12:48.681148 |
pkg:pypi/llamafactory |
purl2cpe | 2026-07-28 16:40:56.358366 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2025-61784 |
vulnerable | 2026-06-08 07:37:28.063905 |
LLaMA Factory's Chat API has Critical SSRF and LFI Vulnerabilities
HIGH (7.6)
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/chat.py.` This function is responsible for processing incoming multimodal content, including images, videos, and audio provided via URLs. The function checks if the provided URL is a base64 data URI or a local file path (`os.path.isfile`). If neither is true, it falls back to treating the URL as a web URI and makes a direct HTTP GET request using `requests.get(url, stream=True).raw` without any validation or sanitization of the URL. Version 0.9.4 fixes the underlying issue.
Published: 2025-10-07T19:01:40.400Z
Updated: 2025-10-07T19:24:20.791Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-53002 |
vulnerable | 2026-06-08 07:31:13.805356 |
LLaMA-Factory Remote Code Execution (RCE) Vulnerability
HIGH (8.3)
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=True`. Version 0.9.4 contains a fix for the issue.
Published: 2025-06-26T14:40:52.764Z
Updated: 2025-06-26T15:12:51.382Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-46567 |
vulnerable | 2026-06-08 07:27:08.442574 |
LLaMA-Factory Allows Arbitrary Code Execution via Unsafe Deserialization in Ilamafy_baichuan2.py
MEDIUM (6.1)
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.
Published: 2025-05-01T17:20:41.020Z
Updated: 2025-05-02T17:29:45.664Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-52803 |
vulnerable | 2026-06-08 06:52:16.260655 |
LLama Factory Remote OS Command Injection Vulnerability
HIGH (7.5)
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.
Published: 2024-11-21T16:53:18.398Z
Updated: 2024-11-21T21:12:06.172Z |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.