Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed evaluation_app endpoint
-
ExploitBypass get_dataset access control
-
ExecutionSupply attacker-controlled code or command
-
ImpactExecute arbitrary commands on RAGFlow host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to a RAGFlow 0.24.0 instance exposing the evaluation_app's get_dataset entry point; because the vulnerability is a missing access-control/authorization check, no valid credentials are needed (CVSS PR:N). The key limiting factor is that the code/command-execution outcome is conditioned on 'the exposed entry' - i.e., the specific reachable endpoint or deployment path that leads to execution must be present, so instances that do not expose the evaluation_app interface to the attacker, or that place RAGFlow behind authentication/network segmentation (its common internal deployment model), are not exploitable. Version is specifically RAGFlow 0.24.0. |
| Impact | The CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) paints a worst-case picture: network-reachable, no authentication, no user interaction, and full compromise via attacker-controlled code or command execution - consistent with the CWE-284 improper access control root cause, where the missing authorization check effectively yields PR:N. However, the real-world signals temper this: EPSS is only 0.32% (22nd percentile), indicating low modeled probability of exploitation in the near term, and the CVE is NOT listed in CISA KEV, so there is no confirmed active exploitation. A public artifact - a GitHub gist from researcher 'Ro1ME' - is referenced, so publicly available exploit code exists, which lowers the barrier to opportunistic attacks even while widespread exploitation is not yet observed. The conflict to flag: the description's phrase 'Depending on the exposed entry' implies the code-execution outcome is conditional on which endpoint/configuration is reachable, which is NOT reflected in the AC:L rating - the practical attack complexity may be higher than the vector suggests, so verify the exact trigger path against the gist/vendor. Net assessment: a genuinely severe flaw by impact, but current urgency is moderated by low EPSS, absence from KEV, and RAGFlow's typically internal/non-internet-facing deployment; POC availability is the main factor raising priority above a theoretical high-CVSS issue. |
| Exploit ScenarioDerived | An attacker who can reach a RAGFlow 0.24.0 instance's evaluation_app interface sends a crafted request to the get_dataset functionality, abusing the missing access-control check to reach an entry point that executes attacker-supplied code or system commands on the host. Because the flaw requires no authentication or user interaction over the network, an exposed instance can be compromised directly; a public gist POC exists, reducing the effort needed to reproduce the attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Unauthenticated network attackers can reach the get_dataset entry point in RAGFlow 0.24.0's evaluation_app API and, depending on which entry is exposed, trigger attacker-controlled code or command execution as a result of a missing authorization check (CWE-284). The flaw scores CVSS 3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting a worst-case path where no credentials and no user interaction are required, though exploitability is conditional on the evaluation_app interface being reachable by the attacker and on the specific exposed entry that enables execution. There is no public exploit identified at time of analysis and the EPSS score is low (0.32%, 22nd percentile); CISA KEV status is not indicated.
RemediationAI
No vendor-released patch identified at time of analysis, so remediation must rely on compensating controls until an upstream fix or advisory appears. The most effective control is to ensure the evaluation_app get_dataset endpoint is not reachable from untrusted networks: place RAGFlow behind an authenticating reverse proxy or API gateway that requires valid credentials for all /api/apps/evaluation_app routes, or bind the service to a management-only interface and block external access with firewall/network-segmentation rules - the trade-off being that legitimate evaluation workflows must then be driven from authenticated, trusted clients. If the evaluation app is not operationally required, disable or unregister the evaluation_app blueprint/route entirely, accepting the loss of evaluation functionality; if it must remain, restrict it to a small set of trusted source IPs and monitor for anomalous calls to get_dataset. Because the flaw is an access-control failure (CWE-284), signature- or input-based WAF rules are unlikely to be reliable and should not replace authentication and network controls. Track the referenced gist, the NVD/EUVD records (EUVD-2026-91113), and vendor channels for a patched RAGFlow release, and upgrade as soon as an exact fixed version is published; do not assume any version is safe absent vendor confirmation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RAGFlow is an open-source retrieval-augmented-generation engine built around deep document understanding, exposing a Python/Flask-style API surface (api/apps/...) that includes per-application blueprints such as evaluation_app. CVE-2026-51897 is rooted in CWE-284 (Improper Access Control): the get_dataset handler in api/apps/evaluation_app fails to enforce an authorization/permission check on the requesting principal before performing its work, so the endpoint's functionality - which in some deployment paths leads to attacker-influenced code or command execution - is reachable without valid credentials (consistent with the PR:N vector). Because the code/command-execution outcome is conditioned on 'the exposed entry', the practical impact depends on how the RAGFlow instance is deployed and which evaluation_app routes are reachable; a hardened or segmented deployment that does not expose evaluation_app to untrusted networks removes the attack path. The supplied CPE string (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*) and EUVD affected-version list carry no usable product identification, so version targeting rests on the explicit RAGFlow 0.24.0 statement in the CVE description.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Missing access-control check gives unauthenticated network access (PR:N, AV:N, UI:N), and command/code execution yields full C/I/A impact; AC:L retained per description though 'depending on exposed entry' could justify AC:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
RAGFlow 0.24.0 contains improper access control in get_dataset (api/apps/evaluation_app). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution
Executive ViewAI
RAGFlow 0.24.0's evaluation_app API contains a critical missing authorization vulnerability that could allow unauthenticated network attackers to execute arbitrary code, potentially leading to full compromise of the platform and any data it processes. Although no public exploit has been identified and the EPSS score is low, the absence of a vendor patch means organizations with this interface exposed to untrusted networks face a severe risk. Leadership should care because successful exploitation could result in data breaches, service disruption, and regulatory consequences, affecting customers and business operations.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the evaluation_app API to trusted sources, disabling the evaluation_app if not required, deploying WAF rules to block exploitation attempts against the get_dataset endpoint, and enabling detailed logging and monitoring for anomalous activity.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-91113
GHSA-p3qm-chr8-gf9x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB