<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T13:14:24.488130+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-53002</id>
    <title>CVE-2025-53002 — LLaMA-Factory Remote Code Execution (RCE) Vulnerability</title>
    <updated>2026-10-04T13:14:25.557902+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> hiyouga LLaMA-Factory</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-53002"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-xj56-p8mm-qmxj</id>
    <title>GHSA-xj56-p8mm-qmxj — LLaMA-Factory allows Code Injection through improper vhead_file safeguards</title>
    <updated>2026-10-04T13:14:25.558057+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: llamafactory</p>
<p>### Summary
A critical remote code execution vulnerability was discovered 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`.</p>
<p>Note: In torch versions &lt;2.6, the default setting is `weights_only=False`, and Llama Factory's `setup.py` only requires `torch&gt;=2.0.0`.</p>
<p>### Affected Version</p>
<p>Llama Factory versions &lt;=0.9.3 are affected by this vulnerability.</p>
<p>### Details</p>
<p>1. In LLaMA Factory's WebUI, when a user sets the `Checkpoint path`, it modifies the `adapter_name_or_path` parameter passed to the training process.
code in src/llamafactory/webui/runner.py
&lt;img width="1040" alt="image-1" src="https://github.com/user-attachments/assets/c8bc79e4-ce7d-43c9-b0fd-e37c235e6585" /&gt;</p>
<p>2. The `adapter_name_or_path` passed to the training process is then used in `src/llamafactory/model/model_utils/valuehead.py` to fetch the corresponding `value_head.bin` file from Hugging Face. This file is subsequently loaded via `torch.load()` without the security parameter `weights_only=True` being set, resulting in remote code execution.
code in src/llamafactory/model/model_u…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-xj56-p8mm-qmxj"/>
  </entry>
</feed>
