Description
RAGFlow before 0.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to force the server to issue requests to arbitrary internal or external endpoints by supplying an unvalidated base_url to the POST /v1/llm/set_api_key endpoint handled by set_api_key() in api/apps/llm_app.py. Attackers can exploit this flaw to probe shared-network services such as MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database, and cloud metadata endpoints, with raw upstream exception text returned in the response leaking internal service details, open ports, and configuration fingerprints.
Published: 2026-11-06
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Server‑side request forgery allowing authenticated users to force the server to access arbitrary internal or external endpoints and leak service details
Action: Immediate Patch
AI Analysis

Impact

RAGFlow before version 0.27.0 is vulnerable to a server‑side request forgery (SSRF) that permits authenticated attackers to supply an unvalidated base_url to the POST /v1/llm/set_api_key endpoint. By doing so the software will issue outgoing HTTP requests to any target specified in the base_url. The application returns the raw exception text from these requests, which can reveal open ports, service fingerprints, and configuration information for internal components such as MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database, and cloud metadata endpoints.

Affected Systems

The vulnerability affects the Infiniflow RAGFlow product, specifically all releases earlier than version 0.27.0. Versions 0.27.0 and later contain the fix demonstrated in the 0.27.0 release notes.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate risk. EPSS data is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting that CI may not be widely exploited yet. The attack requires authentication to the RAGFlow API, which limits its applicability to users who can log in to the application. An attacker can use the flaw to probe internal services and gather reconnaissance data, potentially facilitating further attacks within the internal network. The direct impact is primarily disclosure of internal service information rather than remote code execution.

Generated by OpenCVE AI on November 6, 2026 at 17:54 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RAGFlow to version 0.27.0 or later to obtain the fix that validates the base_url parameter
  • Restrict outbound network traffic originating from the RAGFlow application or isolate the set_api_key endpoint so only trusted hosts can reach internal services
  • Implement monitoring to detect unexpected outbound requests or exception messages that expose internal service details

Generated by OpenCVE AI on November 6, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Infiniflow
Infiniflow ragflow
Vendors & Products Infiniflow
Infiniflow ragflow

Fri, 06 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Description RAGFlow before 0.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to force the server to issue requests to arbitrary internal or external endpoints by supplying an unvalidated base_url to the POST /v1/llm/set_api_key endpoint handled by set_api_key() in api/apps/llm_app.py. Attackers can exploit this flaw to probe shared-network services such as MySQL, Elasticsearch, Redis, MinIO, the Infinity vector database, and cloud metadata endpoints, with raw upstream exception text returned in the response leaking internal service details, open ports, and configuration fingerprints.
Title RAGFlow < 0.27.0 SSRF via set_api_key base_url Parameter
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Infiniflow Ragflow
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T16:09:16.028Z

Reserved: 2026-06-02T16:30:15.232Z

Link: CVE-2026-49951

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-06T17:17:55.993

Modified: 2026-11-06T17:17:56.143

Link: CVE-2026-49951

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T18:00:10Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)