Read the docs

Path traversal in hiyouga LLaMA-Factory WebUI config handling

Priority LOW 38CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

The hiyouga LLaMA-Factory WebUI in versions 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4 and 0.9.5 is affected. The save_args and load_args functions in runner.py do not restrict the config_path argument, which allows path traversal (CWE-22). A remote attacker without privileges or user interaction can trigger it.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Description from the CNA

A flaw has been found in hiyouga LLaMA-Factory up to 0.9.5. Affected is the function save_args/load_args of the file src/llamafactory/webui/runner.py of the component WebUI. This manipulation of the argument config_path causes path traversal. The attack can be initiated remotely. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00712 49th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
hiyougaLLaMA-Factory0.9.0; 0.9.1; 0.9.2; 0.9.3; 0.9.4; 0.9.5—No fix listedCNA
  • LLaMA-Factory Vendorhiyouga Affected 0.9.0; 0.9.1; 0.9.2; 0.9.3; 0.9.4; 0.9.5 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*——hiyouga
  • cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:* Versions — — ·hiyouga

Remediation

The sources list no fixed version for hiyouga LLaMA-Factory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-24

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-135800
  2. 2026-11-24 Alias added: GHSA-h92j-8x5x-pfxx
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-41855 LLaMA-Factory 0.9.5 Remote Code Execution via WebUI Model Path CVSS 4.0CRITICAL 9.3
  • TI-2024-35316 LLama Factory Remote OS Command Injection Vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2026-58785 LLaMA-Factory SSRF Guard Bypass via Redirect and DNS Rebinding CVSS 4.0HIGH 8.7
  • TI-2025-33006 LLaMA-Factory Remote Code Execution (RCE) Vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2025-38177 LLaMA Factory's Chat API has Critical SSRF and LFI Vulnerabilities CVSS 3.1HIGH 8.1
  • TI-2025-29280 LLaMA-Factory Allows Arbitrary Code Execution via Unsafe Deserialization in Ilamafy_baichuan2.py CVSS 3.1HIGH 7.8

Sources