Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed LLaMA-Factory WebUI
-
DeliverySubmit config_path with traversal sequences
-
Exploitsave_args/load_args resolves path outside intended dir
-
ExecutionRead or write arbitrary files
-
ImpactConfig disclosure or tampering
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the LLaMA-Factory Gradio WebUI and the ability to invoke the save_args or load_args functionality in src/llamafactory/webui/runner.py with an attacker-controlled config_path argument; the traversal occurs because config_path is not constrained to an intended directory. The dominant limiting factor is deployment mode: LLaMA-Factory's WebUI by default binds to the local host and ships without authentication, so the unauthenticated-remote (AV:N/PR:N) profile is only realized when an operator has intentionally exposed the WebUI to a network (for example via public binding or share/tunnel). On a default localhost-only deployment the attack surface is limited to local or same-host actors. |
| Impact | This is a moderate-severity path traversal (CWE-22) with a provided CVSS 4.0 base score of 6.9 and vector AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L - network-reachable, low complexity, no authentication, and low confidentiality/integrity/availability impact to the vulnerable system only (no scope change to subsequent systems). The vuln.today decision label is 'this_month', signaling a real but non-emergency priority rather than drop-everything urgency. There is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active or widespread exploitation; status is 'no public exploit identified at time of analysis' (a vendor GHSA advisory and VulDB CTI reference exist, but neither is presented as working exploit code). The signals are internally consistent: a low-complexity unauthenticated network flaw with only LOW impacts across C/I/A, which is why the score lands in the mid-6 range rather than critical. The most important caveat the raw vector hides is deployment reality - LLaMA-Factory's Gradio WebUI binds to localhost by default and ships without authentication, so the PR:N/AV:N rating is only realized when an operator has deliberately exposed the WebUI to a network. Note also that only a CVSS 4.0 vector is supplied (no CVSS 3.1), and the sole source is VulDB with an unresponsive vendor, so affected-version and fix data are limited. |
| Exploit ScenarioDerived | An attacker who can reach an exposed LLaMA-Factory Gradio WebUI submits a crafted config_path value containing directory-traversal sequences to the save_args/load_args functionality in src/llamafactory/webui/runner.py. Because the path is not constrained to an intended directory, load_args can be steered to read files outside the project tree and save_args can write a configuration to an attacker-chosen location, yielding limited file disclosure or tampering. No public, verified exploit code is identified in the provided sources, though a vendor security advisory (GHSA-h448-p698-4q2g) and VulDB CTI reference exist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Path traversal in hiyouga LLaMA-Factory through 0.9.5 lets remote attackers manipulate the config_path argument handled by save_args/load_args in the Gradio WebUI, potentially accessing files outside the intended configuration directory with low confidentiality, integrity, and availability impact. The CVSS 4.0 base score is 6.9, and the assessed profile is network-reachable, low-complexity, unauthenticated access when the WebUI is exposed beyond its default localhost binding. No public exploit was identified at time of analysis, and the vendor did not respond to the disclosure.
RemediationAI
No vendor-released patch identified at time of analysis; the vendor was contacted about the disclosure but did not respond, and no fixed version is listed in the supplied references. Until a fix is published, keep the Gradio WebUI bound to localhost and avoid exposing it through public binding, share, or tunnel features, since the default localhost-only deployment limits the attack surface to local or same-host actors. If remote WebUI access is required, place it behind an authenticating reverse proxy and restrict network reachability to trusted users, accepting the added operational overhead, and avoid passing attacker-controlled config_path values to save_args/load_args. Monitor https://github.com/hiyouga/LlamaFactory/security/advisories/GHSA-h448-p698-4q2g and https://vuldb.com/vuln/442772 for updated remediation guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LLaMA-Factory is a fine-tuning framework whose WebUI is implemented with Gradio. The flaw is in src/llamafactory/webui/runner.py, where the save_args/load_args functionality accepts a config_path argument that is not constrained to an intended directory, matching CWE-22 path traversal. The provided CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L with no scope change; the independent assessment maps to CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. The practical exposure depends on deployment: the WebUI binds to localhost by default and ships without authentication, so remote unauthenticated exploitation requires an operator to expose it to a network; on default localhost-only deployments the attack surface is limited to local or same-host actors. The specific traversal payload mechanics beyond the unconstrained config_path are not described in the available sources.
Know when Llama Factory gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Unauthenticated, low-complexity access to an unauthenticated WebUI yields AV:N/AC:L/PR:N/UI:N; path traversal gives limited arbitrary read and write, so C/I/A are each Low with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Llama Factory
View allLLama Factory enables fine-tuning of large language models. Rated critical severity (CVSS 9.8), this vulnerability is re
LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLa
Server-side request forgery and local file inclusion in LLaMA-Factory through 0.9.3 let a user of the public /v1/chat/co
LLama Factory enables fine-tuning of large language models. Rated medium severity (CVSS 6.1), this vulnerability is low
Remote code execution in LLaMA-Factory through version 0.9.5 allows attackers who can reach the Gradio WebUI to run arbi
EUVD-2026-134602
GHSA-h92j-8x5x-pfxx
NVD
CVE.org
EPSS
VulDB
Exploit-DB