Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to RAGFlow
-
DeliveryCraft base_url to internal endpoint
-
ExploitCall POST /v1/llm/set_api_key
-
ExecutionServer issues SSRF request
-
ImpactHarvest 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. Rated critical severity (CVSS 9
Path traversal vulnerability in RAGFlow RAG engine version 0.23.1 allows unauthenticated attackers to read arbitrary fil
In infiniflow/ragflow versions 0.12.0, the `web_crawl` function in `document_app.py` contains multiple vulnerabilities.
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Rated high severity (CVSS 8.9), this vulnerabilit
RAGFlow versions prior to 0.22.0 generate API keys and beta assistant/agent share tokens with a predictable scheme, lett
The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulne
Remote code execution in RAGFlow versions prior to 0.23.0 allows a low-privileged authenticated user (a normal login acc
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. Rated high s
A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. Rated high severity (CVS
RAGFlow 0.13.0 suffers from improper access control in document-hooks.ts, allowing unauthorized access to user documents
A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data query
Server-side template injection in RAGFlow 0.24.0 and earlier allows any authenticated user to execute arbitrary operatin
EUVD-2026-118333
GHSA-ghwm-jvhv-h9gp
NVD
CVE.org
EPSS
Exploit-DB