Skip to content
Heist/ feed
Back to feed
Medium

SSRF in infiniflow/ragflow

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-12779
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:18 UTC · Revision 1

Source evidence

SSRF in infiniflow/ragflow

core-osv · Original source

Published 20 Mar 2025, 10:11 UTC

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.

osv:CVE-2024-12779
Complete source record
{
  "id": "2894f065a23e0664c2212b6b30de1fbad09785953e93d10b20d7d38ccb2c2517",
  "url": "https://osv.dev/vulnerability/CVE-2024-12779",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SSRF in infiniflow/ragflow",
    "summary": "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.",
    "evidence": "osv:CVE-2024-12779",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-12779",
      "aliases": [
        "CVE-2024-12779"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/infiniflow/ragflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "92a4a095c922690b31e9ef557b708d3920d092a9"
                },
                {
                  "last_affected": "92a4a095c922690b31e9ef557b708d3920d092a9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:infiniflow:ragflow:0.12.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.12.0"
                      },
                      {
                        "last_affected": "0.12.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.12.0",
            "v0.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12779.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.641090388Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/3cc748ba-2afb-4bfe-8553-10eb6d6dd4f0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12779.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-12779"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12779.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-12779",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496748,
  "published_at": "2025-03-20T10:11:28.705+00:00"
}