PT-2025-26979

CVE-2025-53002

·

Published

2025-06-26

·

Updated

2026-07-07

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: LLaMA-Factory versions up to and including 0.9.3
Description: A remote code execution issue was discovered in LLaMA-Factory during the training process. This issue arises because the vhead file is loaded without proper safeguards, allowing malicious attackers to execute arbitrary malicious code on the host system by passing a malicious Checkpoint path parameter through the "WebUI" interface. The attack is stealthy, as the victim remains unaware of the exploitation. The root cause is that the vhead file argument is loaded without the secure parameter weights only=True.
Recommendations: For versions up to and including 0.9.3, upgrade to version 0.9.4 to patch the issue. As a temporary workaround, consider setting the weights only=True parameter when loading the vhead file argument to prevent exploitation. Restrict access to the WebUI interface to minimize the risk of exploitation until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XJ56-P8MM-QMXJ
PYSEC-2026-1576
Found an issue in the description? Have something to add? Feel free to write us 👾