Skip to content
HighVulnerabilityLLM-specific

CVE-2025-53002: LLaMA-Factory remote code execution through Checkpoint path in WebUI

Identifier
CVE-2025-53002
Published
Record updated
View JSON
Affected
  • llamafactory <= 0.9.3
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%

Summary

LLaMA-Factory versions up to and including 0.9.3 contain a remote code execution flaw in the training process. The `vhead_file` is loaded without the `weights_only=True` safeguard, so an attacker who supplies a malicious `Checkpoint path` through the `WebUI` interface can run arbitrary code on the host, without the victim noticing.

Mitigation

Version 0.9.4 contains a fix for the issue.