Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-53002

8.3 · HIGH
Published Jun 26, 2025 hiyouga CWE-94 EPSS 1.07% (62th pctl)

Overview

CVE-2025-53002 is a high-severity vulnerability affecting hiyouga llama-factory. It was published on June 26, 2025 and has a CVSS 3.1 base score of 8.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file` is loaded without proper safeguards, allowing malicious attackers to execute arbitrary malicious code on the host system simply 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`. Version 0.9.4 contains a fix for the issue.

Remediation

Check the references section for vendor advisories and patches from hiyouga. Update llama-factory to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
hiyouga llama-factory >= 0, < 0.9.4 Affected

Frequently Asked Questions

What is CVE-2025-53002?

CVE-2025-53002 is a high-severity vulnerability affecting hiyouga llama-factory. It was published on June 26, 2025 and has a CVSS 3.1 base score of 8.3 (HIGH).

How severe is CVE-2025-53002?

This vulnerability has a CVSS 3.1 base score of 8.3, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-53002?

Check the references section for vendor advisories and patches from hiyouga. Update llama-factory to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-53002?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-53002 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.