LLaMA-Factory WebUI Path Traversal Flaw Affects Versions Up to 0.9.5

3 min read
Source: CVEs | Zero Wire | Cloudflare Radar
LLaMA-Factory WebUI Path Traversal Flaw Affects Versions Up to 0.9.5
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A medium-severity path traversal vulnerability, CVE-2026-135800, has been identified in the WebUI component of hiyouga LLaMA-Factory, affecting versions 0.9.0 through 0.9.5. The flaw resides in the save_args and load_args functions within the runner.py file, where improper handling of the config_path argument allows remote attackers to access files outside restricted directories. The vulnerability is rated 6.9 on the CVSS 4.0 scale and 7.3 on the CVSS 3.1 scale, indicating potential impacts on confidentiality, integrity, and availability. The vendor was contacted regarding the disclosure but did not respond, and no patch has been released. Users are advised to monitor for updates and consider mitigating path traversal risks in similar configurations.

Key points

  • CVE-2026-135800 affects hiyouga LLaMA-Factory versions 0.9.0 to 0.9.5, specifically the WebUI component.
  • The vulnerability is a path traversal issue in the save_args and load_args functions of src/llamafactory/webui/runner.py.
  • Remote exploitation is possible with low attack complexity and no required privileges or user interaction.
  • CVSS scores range from 6.9 (Medium) on CVSS 4.0 to 7.3 (High) on CVSS 3.1 and 3.0 scales.
  • The vendor did not respond to the disclosure, and no official patch or advisory has been issued yet.

Background

This vulnerability follows a series of recent path traversal disclosures in 2026, including CVE-2026-135793 in Panabit Gateway, CVE-2026-81577 in ITG vSRM, CVE-2026-121019 in CODESYS Visualization, and CVE-2026-134059 in Elastic Kibana. These incidents highlight ongoing risks associated with improper pathname limitation (CWE-22) in software that processes user-controlled file paths. While some vendors have released patches, others, like hiyouga, have not responded to disclosures, leaving users vulnerable until updates are available.

Why it matters

Path traversal vulnerabilities can allow attackers to read, modify, or delete files outside intended directories, potentially leading to data breaches, system compromise, or denial of service. In the case of LLaMA-Factory, which is used for large language model fine-tuning, exploitation could expose sensitive configuration files or training data. The lack of a vendor response increases the urgency for users to apply workarounds, such as restricting file access permissions or upgrading to patched versions if available. Given the remote exploitability and low complexity, organizations should prioritize patching or mitigating this flaw to prevent unauthorized access.

What to watch

Users of LLaMA-Factory versions 0.9.0 through 0.9.5 should monitor the vendor's GitHub repository and security advisories for a patch. Until a fix is released, consider implementing input validation for the config_path argument or restricting file system permissions to limit the impact of path traversal. Security teams should also review other components for similar CWE-22 vulnerabilities, especially in web-based interfaces that handle file paths. Given the vendor's lack of response, proactive mitigation is essential to reduce risk.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar