Description
RAGFlow before 0.26.3 contains a server-side request forgery vulnerability in the agent workflow "Invoke" component (agent/component/invoke.py). The component builds an outbound request URL from canvas configuration and runtime template variables and passes it to requests.get, requests.post, or requests.put without calling the shared assert_url_is_safe validator or pinning the resolved address, unlike the crawler, SearXNG, file-upload, and RSS fetch paths. A user who can create or trigger an agent can direct the server to fetch loopback, link-local, and RFC 1918 destinations, including cloud instance metadata endpoints and services co-located on the deployment network, and the response body is returned as the component output. Where an agent is configured to interpolate the chat query into the Invoke URL, the destination is chosen by whoever can send that query.
Published: 2026-08-18
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A server‑side request forgery flaw exists in RAGFlow versions prior to 0.26.3. The agent workflow component that builds outbound HTTP requests does so using user‑controlled data without validating the target URL or pinning the resolved address. When an attacker can create or trigger an agent, they can instruct the server to request arbitrary loopback, link‑local, or RFC 1918 addresses, including cloud metadata services, and the response is returned to the attacker. This flaw is classified as CWE‑918 and can lead to disclosure of internal network information or compromise of services running on the same host.

Affected Systems

infiniflow:ragflow, all releases before v0.26.3. Users running any older RAGFlow build on their infrastructure are affected; the vulnerability exists in the agent/Invoke component. The CPE identifies the product as cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. No EPSS score is available, and the vulnerability is not listed in CISA KEV. Since the flaw requires the ability to create or trigger an agent, the attack vector is likely local or authenticated, though it could be exploited remotely if an attacker gains sufficient privileges to instantiate an agent. The flaw allows an attacker to probe internal services and retrieve their responses, potentially exposing sensitive data or enabling further attacks.

Generated by OpenCVE AI on August 18, 2026 at 17:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade RAGFlow to version 0.26.3 or later.
  • If upgrading is not immediately possible, restrict agent creation and execution to trusted users or disable the agent functionality entirely.
  • Implement URL safety validation in custom code to block outbound requests to internal addresses.

Generated by OpenCVE AI on August 18, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Description RAGFlow before 0.26.3 contains a server-side request forgery vulnerability in the agent workflow "Invoke" component (agent/component/invoke.py). The component builds an outbound request URL from canvas configuration and runtime template variables and passes it to requests.get, requests.post, or requests.put without calling the shared assert_url_is_safe validator or pinning the resolved address, unlike the crawler, SearXNG, file-upload, and RSS fetch paths. A user who can create or trigger an agent can direct the server to fetch loopback, link-local, and RFC 1918 destinations, including cloud instance metadata endpoints and services co-located on the deployment network, and the response body is returned as the component output. Where an agent is configured to interpolate the chat query into the Invoke URL, the destination is chosen by whoever can send that query.
Title RAGFlow < 0.26.3 - Server-Side Request Forgery via Agent Invoke Component
First Time appeared Infiniflow
Infiniflow ragflow
Weaknesses CWE-918
CPEs cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
Vendors & Products Infiniflow
Infiniflow ragflow
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Infiniflow Ragflow
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-18T14:43:41.675Z

Reserved: 2026-08-18T14:17:24.124Z

Link: CVE-2026-75898

cve-icon Vulnrichment

Updated: 2026-08-18T14:43:01.233Z

cve-icon NVD

Status : Received

Published: 2026-08-18T15:17:15.367

Modified: 2026-08-18T15:17:15.367

Link: CVE-2026-75898

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)