LLaMA-Factory allows Code Injection through improper vhead_file safeguards
CVE-2025-53002 · GHSA-xj56-p8mm-qmxj · published 2025-06-27
- Severity
- High
- CVSS score
- 8.3
- Chance of exploitation (EPSS)
- 1.4%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Exploitation of this vulnerability allows remote attackers to: Execute arbitrary malicious code / OS commands on the server. Potentially compromise sensitive data or escalate privileges. Deploy malware or create persistent backdoors in the system. This significantly increases the risk of data breaches and operational disruption.
No fixed release is listed yet for llamafactory. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| llamafactory | PyPI | <= 0.9.3 | No fix yet |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.