CVE-2024-12779 SSRF in infiniflow/ragflow
Attackers can exploit SSRF in RAGFlow to read contents from arbitrary internal URLs via the TTS API endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12779?
CVE-2024-12779 is a medium-severity server-side request forgery vulnerability in infiniflow/ragflow, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. The vulnerability is present in the `POST /v1/llm/add_llm` and `POST /v1/conversation/tts` endpoints. Attackers can specify an arbitrary URL as the `api_base` when adding an `OPENAITTS` model, and subsequently access the `tts` REST API endpoint to read contents from the specified URL. This can lead to unauthorized access to internal web resources.
Weakness: CWE-918
Which versions are affected by CVE-2024-12779?
It affects 1 product.
Products include Infiniflow Ragflow.
How do I fix CVE-2024-12779?
No fix has been published for CVE-2024-12779 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-12779 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12779 exists.
Other vulnerabilities in infiniflow/ragflow
- CVE-2026-24770 RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser
- CVE-2024-12433 Remote Code Execution in infiniflow/ragflow
- CVE-2025-48187 Auth bypass in RAGFlow
- CVE-2025-69286 RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability
- CVE-2025-27135 RAGFlow SQL Injection vulnerability
Sources
Also known as GHSA-96mw-rfcv-484q.