Skip to main content

LLaMA-Factory EUVDEUVD-2026-134602

| CVE-2026-135800 MEDIUM
Path Traversal (CWE-22)
2026-11-24 VulDB GHSA-h92j-8x5x-pfxx
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed LLaMA-Factory WebUI
  2. Delivery
    Submit config_path with traversal sequences
  3. Exploit
    save_args/load_args resolves path outside intended dir
  4. Execution
    Read or write arbitrary files
  5. Impact
    Config 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

LLaMA-Factory 0.9.4
LLaMA-Factory 0.9.1
LLaMA-Factory 0.9.3
LLaMA-Factory 0.9.0
LLaMA-Factory 0.9.2
LLaMA-Factory 0.9.5

Affected Packages

euvd llama_factory no fix

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

Vendor (VulDB) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.3 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Medium
popular open-source LLM fine-tuning framework, niche to ML/AI practitioner deployments
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy