Skip to main content

RAGFlow EUVDEUVD-2026-118333

| CVE-2026-49951 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-06 VulnCheck GHSA-ghwm-jvhv-h9gp
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to RAGFlow
  2. Delivery
    Craft base_url to internal endpoint
  3. Exploit
    Call POST /v1/llm/set_api_key
  4. Execution
    Server issues SSRF request
  5. Impact
    Harvest leaked service fingerprints

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated RAGFlow account (CVSS PR:L); the attacker then supplies an unvalidated base_url to POST /v1/llm/set_api_key, which the server uses to issue an outbound request with no additional non-default configuration needed. No user interaction and no special deployment mode are required (AC:L/UI:N), so any low-privileged user can trigger it against a default install. The principal limiting factor is the authentication requirement - this is not exploitable by fully unauthenticated attackers - and impact is bounded to information disclosure of reachable internal/external endpoints and the exception text they return, not code execution or data modification. Reach is further limited to services network-accessible from the RAGFlow server.

Impact

This is a medium-severity, authenticated SSRF (CVSS 4.0 base 5.3; PR:L confirms an account is required). Exploitation status is no public exploit identified at time of analysis - the input shows a VulnCheck advisory and vendor patch references but no confirmed working PoC, no CISA KEV listing, and no EPSS probability was supplied, so exploitation likelihood cannot be quantified from the data. The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the limited impact profile: the flaw leaks internal service details, open ports and configuration fingerprints (confidentiality-oriented) rather than granting code execution. Net assessment: a real but non-urgent priority - valuable to an attacker who already holds a low-privileged account as an internal reconnaissance primitive (especially against cloud metadata and co-located datastores), but gated by authentication and bounded to information disclosure, so it ranks below unauthenticated or RCE-class issues. Note one data caveat: the description attributes the flaw to the Python handler set_api_key() in api/apps/llm_app.py, while the supplied patch diff modifies Go code (internal/entity/models/*.go adding an SSRF allowlist via NewDriverHTTPClient(false)) - the fix location should be verified against the exact deployed component.

Exploit ScenarioDerived

An authenticated RAGFlow user calls POST /v1/llm/set_api_key with a base_url pointing at an internal endpoint (for example a cloud metadata IP or a co-located Redis/MySQL/Elasticsearch/MinIO/Infinity service). The server dutifully issues the request to that host, and the raw upstream exception text is returned to the attacker, revealing open ports, service banners and configuration fingerprints of the internal network. No confirmed public exploit code is identified; a VulnCheck advisory describing the issue exists.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Server-side request forgery in RAGFlow before 0.27.0 allows any authenticated user to make the server send requests to arbitrary internal or external endpoints by setting an unvalidated base_url through POST /v1/llm/set_api_key. The resulting responses leak raw upstream exception text, exposing reachable services, open ports, and configuration fingerprints; impact is information disclosure only, and an account is required (CVSS 4.0 base 5.3, PR:L). No public exploit has been identified at time of analysis, and the vendor fixed the issue in 0.27.0.

RemediationAI

Upgrade RAGFlow to 0.27.0, the vendor-released fix version (https://github.com/infiniflow/ragflow/releases#release-v0.27.0). The fix is covered by PR https://github.com/infiniflow/ragflow/pull/17641 and commit https://github.com/infiniflow/ragflow/commit/b058229ab3a79cc2d61bc1724c2e120ce2ede46d; the VulnCheck advisory is at https://www.vulncheck.com/advisories/ragflow-ssrf-via-set-api-key-base-url-parameter. No vendor-documented workaround is provided in the available references, so applying 0.27.0 is the complete remediation; exploitation requires an authenticated account (PR:L), so exposure is limited to users who can authenticate to RAGFlow.

Affected VersionsENISA

ragflow 0 <0.27.0

Affected Packages

euvd ragflow fix: 0.27.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RAGFlow is InfiniFlow's open-source retrieval-augmented-generation engine. The set_api_key() handler in api/apps/llm_app.py accepts a user-supplied base_url for LLM provider configuration without validating the destination; because the server then performs the outbound request, the endpoint is a CWE-918 server-side request forgery. The referenced patch in PR #17641 modifies shared Go model-driver HTTP client construction (NewDriverHTTPClient(false)) across provider integrations such as 302ai, Aliyun, and Anthropic, and adds test-only SSRF bypass helpers, indicating the fix is implemented in the shared driver layer used by multiple provider integrations. The CPE cpe:2.3:a:infiniflow:ragflow confirms the affected package; the raw exception text returned by upstream services is what turns the SSRF into an internal-network reconnaissance primitive.

Know when Ragflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Authenticated user (PR:L) sends a crafted base_url over the network (AV:N/AC:L/UI:N); impact is limited to leaking internal service details (C:L) with no integrity or availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source RAG engine, moderate production deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2024-12433 CRITICAL POC
9.8 Mar 20

A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. Rated critical severity (CVSS 9

CVE-2026-24770 CRITICAL POC
9.8 Jan 27

Path traversal vulnerability in RAGFlow RAG engine version 0.23.1 allows unauthenticated attackers to read arbitrary fil

CVE-2024-12450 CRITICAL POC
9.8 Mar 20

In infiniflow/ragflow versions 0.12.0, the `web_crawl` function in `document_app.py` contains multiple vulnerabilities.

CVE-2025-27135 HIGH POC
8.9 Feb 25

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Rated high severity (CVSS 8.9), this vulnerabilit

CVE-2025-69286 HIGH POC
8.9 Dec 31

RAGFlow versions prior to 0.22.0 generate API keys and beta assistant/agent share tokens with a predictable scheme, lett

CVE-2024-10131 HIGH POC
8.8 Oct 19

The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulne

CVE-2025-68700 HIGH POC
8.6 Dec 31

Remote code execution in RAGFlow versions prior to 0.23.0 allows a low-privileged authenticated user (a normal login acc

CVE-2025-25282 HIGH POC
8.1 Feb 21

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. Rated high s

CVE-2024-12779 HIGH POC
7.5 Mar 20

A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. Rated high severity (CVS

CVE-2024-53450 HIGH POC
7.5 Dec 09

RAGFlow 0.13.0 suffers from improper access control in document-hooks.ts, allowing unauthorized access to user documents

CVE-2024-12880 MEDIUM POC
6.5 Mar 20

A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data query

CVE-2026-45312 CRITICAL
9.9 May 29

Server-side template injection in RAGFlow 0.24.0 and earlier allows any authenticated user to execute arbitrary operatin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy