CVE-2024-12779 SSRF in infiniflow/ragflow

Medium 6.5 Published Updated

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.

Sources

Also known as GHSA-96mw-rfcv-484q.

Is CVE-2024-12779 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free