GHSA-527m-2xhr-j27g · 深刻度: high · エコシステム: pip — LLaMA Factory's Chat API Contains Critical SSRF and LFI Vulnerabilities
LLaMA-Factory is a tuning library for large language models. Prior to version 0.9.4, a Server-Side Request Forgery (SSRF) vulnerability in the chat API allows any authenticated user to force the server to make arbitrary HTTP requests to internal and external networks. This can lead to the exposure of sensitive internal services, reconnaissance of the internal network, or interaction with third-party services. The same mechanism also allows for a Local File Inclusion (LFI) vulnerability, enabling users to read arbitrary files from the server's filesystem. The vulnerability exists in the `_process_request` function within `src/llamafactory/api/chat.py.` This function is responsible for processing incoming multimodal content, including images, videos, and audio provided via URLs. The function checks if the provided URL is a base64 data URI or a local file path (`os.path.isfile`). If neither is true, it falls back to treating the URL as a web URI and makes a direct HTTP GET request using `requests.get(url, stream=True).raw` without any validation or sanitization of the URL. Version 0.9.4 fixes the underlying issue.
総合評価: CVE-2025-61784 は公開エクスプロイトあり(54.7/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.34%、26 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 0.34% | +0.29% |
| 2 | 2026-03-17 | 0.04% | 0.06% | +0.01% |
| 3 | 2026-03-05 | — | 0.04% | — |
EPSS の全履歴 (全 6 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.6 | 3.1 | HIGH |
|
2.8 | 4.7 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
GHSA-527m-2xhr-j27g · 深刻度: high · エコシステム: pip — LLaMA Factory's Chat API Contains Critical SSRF and LFI Vulnerabilities
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| hiyouga | llama-factory | < 0.9.4 | cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/hiyouga/LLaMA-Factory/commit/95b7188090a1018935c9dc072bfc97f24f1c96e9 | Patch |
| https://github.com/hiyouga/LLaMA-Factory/security/advisories/GHSA-527m-2xhr-j27g | Exploit Third Party Advisory |