LLaMA Factory's Chat API Contains Critical SSRF and LFI Vulnerabilities
CVE-2025-61784 · GHSA-527m-2xhr-j27g · published 2025-10-07 · updated 2026-03-19
- Severity
- High
- CVSS score
- 7.6
- Chance of exploitation (EPSS)
- 0.38%
- Fixed in
- 0.9.4
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
Vulnerability Type: Server-Side Request Forgery (SSRF) and Local File Inclusion (LFI). Impacted Component: The API server, specifically the /v1/chat/completions endpoint. Who is impacted: Any user who can send requests to the chat API. The vulnerability allows an attacker to bypass firewalls and access internal network resources, query cloud metadata services for credentials, or read sensitive files on the server. The severity is critical.
Upgrade llamafactory to 0.9.4 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| llamafactory | PyPI | <= 0.9.3 | 0.9.4 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
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.